#42741E#42741E

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

Color values

HEX#42741E
RGBrgb(66, 116, 30)
HSLhsl(95, 59%, 29%)
HSVhsv(95, 74%, 45%)
CMYKcmyk(43.1%, 0%, 74.1%, 54.5%)
CIE-LABlab(43.86, -32.46, 40.10)
CIE-LCHlch(43.86, 51.59, 128.99°)
OKLaboklab(50.52% -0.0906 0.0907)
OKLCHoklch(50.52% 0.128 135)
XYZxyz(8.7263, 13.7423, 3.4208)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42741E #501E74
analogous
#6D741E #42741E #1E7425
triadic
#42741E #1E4274 #741E42
tetradic
#42741E #1E6D74 #501E74 #74251E
square
#42741E #1E6D74 #501E74 #74251E
split-complementary
#42741E #251E74 #741E6D
monochromatic
#0E1806 #264311 #42741E #5EA52B #7BCD3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42741E#FFFFFF#000000##FFFFFF
##42741E1.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)
#786A10
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#416F63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #42741e;
/* rgb */ color: rgb(66, 116, 30);
/* oklch */ color: oklch(50.5% 0.128 135.0);
Tailwind
colors: {
  custom: {
    50: '#7b9c60',
    500: '#42741e',
    950: '#000000',
  },
}
SCSS
$custom: #42741e;
$custom-light: #7b9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#42741e",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 30
  },
  "hsl": {
    "h": 94.884,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50516,
    "c": 0.12816,
    "h": 135
  },
  "luminance": 0.13743
}

Semantic roles & 50–950 ramp

primary
#42741E
secondary
#7F46A8
accent
#46E2A1
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #42741E

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

Preview Lab → · Contrast checker → · Palette generator →

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