#94B31C#94B31C

#94B31C is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.8% C 0.166 H 121.6°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#94B31C
RGBrgb(148, 179, 28)
HSLhsl(72, 73%, 41%)
HSVhsv(72, 84%, 70%)
CMYKcmyk(17.3%, 0%, 84.4%, 29.8%)
CIE-LABlab(68.47, -29.29, 65.34)
CIE-LCHlch(68.47, 71.60, 114.14°)
OKLaboklab(71.83% -0.0871 0.1415)
OKLCHoklch(71.83% 0.166 121.6)
XYZxyz(28.5430, 38.6199, 7.0491)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94B31C #3B1CB3
analogous
#B3861C #94B31C #48B31C
triadic
#94B31C #1C94B3 #B31C94
tetradic
#94B31C #1CB386 #3B1CB3 #B31C48
square
#94B31C #1CB386 #3B1CB3 #B31C48
split-complementary
#94B31C #1C48B3 #861CB3
monochromatic
#3C490B #687E14 #94B31C #BADE2E #CCE763

Accessibility & contrast

On white

2.41
#94B31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#94B31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #94B31C
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94B31C#FFFFFF#000000##000000
##94B31C1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BBA72E
Tritanopia (blue-blind)
#9DA999
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #94b31c;
/* rgb */ color: rgb(148, 179, 28);
/* oklch */ color: oklch(71.8% 0.166 121.6);
Tailwind
colors: {
  custom: {
    50: '#b8c969',
    500: '#94b31c',
    950: '#000000',
  },
}
SCSS
$custom: #94b31c;
$custom-light: #b8c969;
$custom-dark: #000000;
JSON
{
  "hex": "#94b31c",
  "rgb": {
    "r": 148,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 72.318,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71829,
    "c": 0.16612,
    "h": 121.6
  },
  "luminance": 0.3862
}

Semantic roles & 50–950 ramp

primary
#94B31C
secondary
#765FCB
accent
#38F05E
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #94B31C

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

Preview Lab → · Contrast checker → · Palette generator →

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