#72B31F#72B31F

#72B31F is a light, vivid yellow-green. Relative luminance 0.359; OKLCH L 69.7% C 0.182 H 131.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#72B31F
RGBrgb(114, 179, 31)
HSLhsl(86, 70%, 41%)
HSVhsv(86, 83%, 70%)
CMYKcmyk(36.3%, 0%, 82.7%, 29.8%)
CIE-LABlab(66.46, -42.45, 62.04)
CIE-LCHlch(66.46, 75.18, 124.38°)
OKLaboklab(69.66% -0.1206 0.1359)
OKLCHoklch(69.66% 0.182 131.6)
XYZxyz(23.3066, 35.9156, 7.0005)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72B31F #601FB3
analogous
#B3AA1F #72B31F #28B31F
triadic
#72B31F #1F72B3 #B31F72
tetradic
#72B31F #1FB3AA #601FB3 #B31F28
square
#72B31F #1FB3AA #601FB3 #B31F28
split-complementary
#72B31F #1F28B3 #AA1FB3
monochromatic
#304B0D #517F16 #72B31F #92DC33 #AEE568

Accessibility & contrast

On white

2.57
#72B31F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#72B31F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #72B31F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72B31F#FFFFFF#000000##000000
##72B31F1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B2A031
Tritanopia (blue-blind)
#74AB99
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #72b31f;
/* rgb */ color: rgb(114, 179, 31);
/* oklch */ color: oklch(69.7% 0.182 131.6);
Tailwind
colors: {
  custom: {
    50: '#a0ca6a',
    500: '#72b31f',
    950: '#000000',
  },
}
SCSS
$custom: #72b31f;
$custom-light: #a0ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#72b31f",
  "rgb": {
    "r": 114,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 86.351,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69661,
    "c": 0.1817,
    "h": 131.6
  },
  "luminance": 0.35917
}

Semantic roles & 50–950 ramp

primary
#72B31F
secondary
#9164CA
accent
#3BED89
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#0F1307
muted
#7F827A

Preview Lab

Preview with #72B31F

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

Preview Lab → · Contrast checker → · Palette generator →

#72B31F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva