#42720F#42720F

#42720F is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.9% C 0.134 H 133.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#42720F
RGBrgb(66, 114, 15)
HSLhsl(89, 77%, 25%)
HSVhsv(89, 87%, 45%)
CMYKcmyk(42.1%, 0%, 86.8%, 55.3%)
CIE-LABlab(43.10, -32.48, 44.57)
CIE-LCHlch(43.10, 55.15, 126.08°)
OKLaboklab(49.87% -0.0917 0.0976)
OKLCHoklch(49.87% 0.134 133.2)
XYZxyz(8.3502, 13.2269, 2.5649)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42720F #3F0F72
analogous
#72700F #42720F #10720F
triadic
#42720F #0F4272 #720F42
tetradic
#42720F #0F7270 #3F0F72 #720F10
square
#42720F #0F7270 #3F0F72 #720F10
split-complementary
#42720F #0F1072 #700F72
monochromatic
#101B04 #233C08 #42720F #61A816 #81DE1D

Accessibility & contrast

On white

5.76
#42720F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#42720F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42720F
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42720F#FFFFFF#000000##FFFFFF
##42720F1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#71641B
Tritanopia (blue-blind)
#426D60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #42720f;
/* rgb */ color: rgb(66, 114, 15);
/* oklch */ color: oklch(49.9% 0.134 133.2);
Tailwind
colors: {
  custom: {
    50: '#7c9b59',
    500: '#42720f',
    950: '#000000',
  },
}
SCSS
$custom: #42720f;
$custom-light: #7c9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#42720f",
  "rgb": {
    "r": 66,
    "g": 114,
    "b": 15
  },
  "hsl": {
    "h": 89.091,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49867,
    "c": 0.13393,
    "h": 133.2
  },
  "luminance": 0.13227
}

Semantic roles & 50–950 ramp

primary
#42720F
secondary
#6D33AA
accent
#35F391
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #42720F

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

Preview Lab → · Contrast checker → · Palette generator →

#42720F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva