#94B21F#94B21F

#94B21F is a light, vivid yellow-green. Relative luminance 0.382; OKLCH L 71.6% C 0.164 H 121.4°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#94B21F
RGBrgb(148, 178, 31)
HSLhsl(72, 70%, 41%)
HSVhsv(72, 83%, 70%)
CMYKcmyk(16.9%, 0%, 82.6%, 30.2%)
CIE-LABlab(68.19, -28.71, 64.36)
CIE-LCHlch(68.19, 70.47, 114.04°)
OKLaboklab(71.61% -0.0853 0.1398)
OKLCHoklch(71.61% 0.164 121.4)
XYZxyz(28.3810, 38.2356, 7.1811)
Luminance0.3824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94B21F #3D1FB2
analogous
#B2861F #94B21F #4AB21F
triadic
#94B21F #1F94B2 #B21F94
tetradic
#94B21F #1FB286 #3D1FB2 #B21F4A
square
#94B21F #1FB286 #3D1FB2 #B21F4A
split-complementary
#94B21F #1F4AB2 #861FB2
monochromatic
#3D4A0D #697E16 #94B21F #B9DB33 #CBE567

Accessibility & contrast

On white

2.43
#94B21F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#94B21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #94B21F
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94B21F#FFFFFF#000000##000000
##94B21F1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BAA62F
Tritanopia (blue-blind)
#9DA898
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #94b21f;
/* rgb */ color: rgb(148, 178, 31);
/* oklch */ color: oklch(71.6% 0.164 121.4);
Tailwind
colors: {
  custom: {
    50: '#b7c96a',
    500: '#94b21f',
    950: '#000000',
  },
}
SCSS
$custom: #94b21f;
$custom-light: #b7c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#94b21f",
  "rgb": {
    "r": 148,
    "g": 178,
    "b": 31
  },
  "hsl": {
    "h": 72.245,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71606,
    "c": 0.16381,
    "h": 121.4
  },
  "luminance": 0.38236
}

Semantic roles & 50–950 ramp

primary
#94B21F
secondary
#7863CA
accent
#3BED5F
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #94B21F

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

Preview Lab → · Contrast checker → · Palette generator →

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