#42741D#42741D

#42741D is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.5% C 0.129 H 134.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#42741D
RGBrgb(66, 116, 29)
HSLhsl(94, 60%, 28%)
HSVhsv(94, 75%, 45%)
CMYKcmyk(43.1%, 0%, 75%, 54.5%)
CIE-LABlab(43.85, -32.54, 40.50)
CIE-LCHlch(43.85, 51.95, 128.78°)
OKLaboklab(50.51% -0.0909 0.0913)
OKLCHoklch(50.51% 0.129 134.9)
XYZxyz(8.7137, 13.7373, 3.3546)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42741D #4F1D74
analogous
#6D741D #42741D #1D7423
triadic
#42741D #1D4274 #741D42
tetradic
#42741D #1D6D74 #4F1D74 #74231D
square
#42741D #1D6D74 #4F1D74 #74231D
split-complementary
#42741D #231D74 #741D6D
monochromatic
#0E1806 #264311 #42741D #5EA529 #7BCE3D

Accessibility & contrast

On white

5.60
#42741D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#42741D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42741D
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42741D#FFFFFF#000000##FFFFFF
##42741D1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A0E
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#416F63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #42741d;
/* rgb */ color: rgb(66, 116, 29);
/* oklch */ color: oklch(50.5% 0.129 134.9);
Tailwind
colors: {
  custom: {
    50: '#7b9c5f',
    500: '#42741d',
    950: '#000000',
  },
}
SCSS
$custom: #42741d;
$custom-light: #7b9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#42741d",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 29
  },
  "hsl": {
    "h": 94.483,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50508,
    "c": 0.12885,
    "h": 134.9
  },
  "luminance": 0.13738
}

Semantic roles & 50–950 ramp

primary
#42741D
secondary
#7E45A8
accent
#45E3A0
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #42741D

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

Preview Lab → · Contrast checker → · Palette generator →

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