#42700A

A color in the Green family

#42700a is a color in the Green family: RGB(66, 112, 10), HSL(87°, 84%, 24%), CMYK(41%, 0%, 91%, 56%). Closest named color: darkolivegreen. Contrast is 5.91:1 on white and 3.55:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#42700a
RGBrgb(66 112 10)
RGB (legacy)rgb(66, 112, 10)
RGB %rgb(26% 44% 4%)
HSLhsl(87 84% 24%)
HSV / HSBhsv(87, 91%, 44%)
HWBhwb(87 4% 56%)
CMYKcmyk(41%, 0%, 91%, 56%)
CIELAB (D50)lab(42.53 -28.38 44.36)
LCHlch(42.53 52.66 122.61)
OKLaboklab(0.493 -0.0901 0.0982)
OKLCHoklch(0.493 0.1333 132.53)
Decimal4354058

Properties

Color ToneGreen
Closest named colordarkolivegreen ΔE 4.5
Closest web-safe color#336600
Hue87°
Saturation (HSL / HSV)84% / 91%
Lightness (HSL)24%
Brightness or Value (HSV)44%
Luminance (Rec.601 / Rec.709)34% / 37%
Relative luminance (WCAG)0.1277
Red / Green / Blue66 / 112 / 10

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.91:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.55:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 79.3 / -22.5 · As background with white / black text: Lc -84.5 / 24.8

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #42700a;
  --color-brand-oklch: oklch(49.3% 0.1333 132.53);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(66 112 10 / 50%); }
/* Tailwind CSS */
<div class="bg-[#42700a] text-[#42700a] border-[#42700a]">