#42761D#42761D

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

Color values

HEX#42761D
RGBrgb(66, 118, 29)
HSLhsl(95, 61%, 29%)
HSVhsv(95, 75%, 46%)
CMYKcmyk(44.1%, 0%, 75.4%, 53.7%)
CIE-LABlab(44.52, -33.43, 41.17)
CIE-LCHlch(44.52, 53.03, 129.07°)
OKLaboklab(51.06% -0.0933 0.0927)
OKLCHoklch(51.06% 0.132 135.2)
XYZxyz(8.9468, 14.2033, 3.4323)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42761D #511D76
analogous
#6F761D #42761D #1D7625
triadic
#42761D #1D4276 #761D42
tetradic
#42761D #1D6F76 #511D76 #76251D
square
#42761D #1D6F76 #511D76 #76251D
split-complementary
#42761D #251D76 #761D6F
monochromatic
#0E1906 #274511 #42761D #5DA729 #7AD03E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42761D#FFFFFF#000000##FFFFFF
##42761D1.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)
#7B6C0D
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#417165
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #42761d;
/* rgb */ color: rgb(66, 118, 29);
/* oklch */ color: oklch(51.1% 0.132 135.2);
Tailwind
colors: {
  custom: {
    50: '#7b9e5f',
    500: '#42761d',
    950: '#000000',
  },
}
SCSS
$custom: #42761d;
$custom-light: #7b9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#42761d",
  "rgb": {
    "r": 66,
    "g": 118,
    "b": 29
  },
  "hsl": {
    "h": 95.056,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51056,
    "c": 0.13156,
    "h": 135.2
  },
  "luminance": 0.14204
}

Semantic roles & 50–950 ramp

primary
#42761D
secondary
#8045AA
accent
#44E4A1
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #42761D

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

Preview Lab → · Contrast checker → · Palette generator →

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