#90B21F#90B21F

#90B21F is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.3% C 0.166 H 122.8°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#90B21F
RGBrgb(144, 178, 31)
HSLhsl(74, 70%, 41%)
HSVhsv(74, 83%, 70%)
CMYKcmyk(19.1%, 0%, 82.6%, 30.2%)
CIE-LABlab(67.92, -30.36, 64.02)
CIE-LCHlch(67.92, 70.85, 115.37°)
OKLaboklab(71.32% -0.0896 0.1392)
OKLCHoklch(71.32% 0.166 122.8)
XYZxyz(27.6697, 37.8689, 7.1478)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90B21F #411FB2
analogous
#B28A1F #90B21F #46B21F
triadic
#90B21F #1F90B2 #B21F90
tetradic
#90B21F #1FB28A #411FB2 #B21F46
square
#90B21F #1FB28A #411FB2 #B21F46
split-complementary
#90B21F #1F46B2 #8A1FB2
monochromatic
#3C4A0D #667E16 #90B21F #B4DB33 #C7E567

Accessibility & contrast

On white

2.45
#90B21F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#90B21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #90B21F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90B21F#FFFFFF#000000##000000
##90B21F1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#B9A530
Tritanopia (blue-blind)
#98A998
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #90b21f;
/* rgb */ color: rgb(144, 178, 31);
/* oklch */ color: oklch(71.3% 0.166 122.8);
Tailwind
colors: {
  custom: {
    50: '#b5c96a',
    500: '#90b21f',
    950: '#000000',
  },
}
SCSS
$custom: #90b21f;
$custom-light: #b5c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#90b21f",
  "rgb": {
    "r": 144,
    "g": 178,
    "b": 31
  },
  "hsl": {
    "h": 73.878,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71318,
    "c": 0.16559,
    "h": 122.8
  },
  "luminance": 0.37869
}

Semantic roles & 50–950 ramp

primary
#90B21F
secondary
#7B63CA
accent
#3BED64
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #90B21F

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

Preview Lab → · Contrast checker → · Palette generator →

#90B21F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva