#42761E#42761E

#42761E is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.1% C 0.131 H 135.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#42761E
RGBrgb(66, 118, 30)
HSLhsl(95, 59%, 29%)
HSVhsv(95, 75%, 46%)
CMYKcmyk(44.1%, 0%, 74.6%, 53.7%)
CIE-LABlab(44.53, -33.35, 40.78)
CIE-LCHlch(44.53, 52.68, 129.28°)
OKLaboklab(51.06% -0.093 0.0921)
OKLCHoklch(51.06% 0.131 135.3)
XYZxyz(8.9593, 14.2084, 3.4984)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42761E #521E76
analogous
#6E761E #42761E #1E7626
triadic
#42761E #1E4276 #761E42
tetradic
#42761E #1E6E76 #521E76 #76261E
square
#42761E #1E6E76 #521E76 #76261E
split-complementary
#42761E #261E76 #761E6E
monochromatic
#0E1806 #274512 #42761E #5DA72A #7ACE40

Accessibility & contrast

On white

5.47
#42761E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#42761E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42761E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42761E#FFFFFF#000000##FFFFFF
##42761E1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0F
Deuteranopia (green-blind)
#736826
Tritanopia (blue-blind)
#417165
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #42761e;
/* rgb */ color: rgb(66, 118, 30);
/* oklch */ color: oklch(51.1% 0.131 135.3);
Tailwind
colors: {
  custom: {
    50: '#7b9e60',
    500: '#42761e',
    950: '#000000',
  },
}
SCSS
$custom: #42761e;
$custom-light: #7b9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#42761e",
  "rgb": {
    "r": 66,
    "g": 118,
    "b": 30
  },
  "hsl": {
    "h": 95.455,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51064,
    "c": 0.13088,
    "h": 135.3
  },
  "luminance": 0.14209
}

Semantic roles & 50–950 ramp

primary
#42761E
secondary
#8146AA
accent
#45E3A2
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #42761E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#42761E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva