#94A01B#94A01B

#94A01B is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.4% C 0.145 H 115.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#94A01B
RGBrgb(148, 160, 27)
HSLhsl(65, 71%, 37%)
HSVhsv(65, 83%, 63%)
CMYKcmyk(7.5%, 0%, 83.1%, 37.3%)
CIE-LABlab(62.94, -19.98, 60.84)
CIE-LCHlch(62.94, 64.03, 108.18°)
OKLaboklab(67.37% -0.0617 0.1316)
OKLCHoklch(67.37% 0.145 115.1)
XYZxyz(24.9821, 31.5171, 5.8041)
Luminance0.3152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94A01B #271BA0
analogous
#A06A1B #94A01B #51A01B
triadic
#94A01B #1B94A0 #A01B94
tetradic
#94A01B #1BA06A #271BA0 #A01B51
square
#94A01B #1BA06A #271BA0 #A01B51
split-complementary
#94A01B #1B51A0 #6A1BA0
monochromatic
#333709 #646C12 #94A01B #C4D424 #D5E253

Accessibility & contrast

On white

2.88
#94A01B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#94A01B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #94A01B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94A01B#FFFFFF#000000##000000
##94A01B1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AB9929
Tritanopia (blue-blind)
#9E9688
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #94a01b;
/* rgb */ color: rgb(148, 160, 27);
/* oklch */ color: oklch(67.4% 0.145 115.1);
Tailwind
colors: {
  custom: {
    50: '#b7bb66',
    500: '#94a01b',
    950: '#000000',
  },
}
SCSS
$custom: #94a01b;
$custom-light: #b7bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#94a01b",
  "rgb": {
    "r": 148,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 65.414,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67371,
    "c": 0.14534,
    "h": 115.1
  },
  "luminance": 0.31517
}

Semantic roles & 50–950 ramp

primary
#94A01B
secondary
#5C52C5
accent
#3AEE4A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #94A01B

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

Preview Lab → · Contrast checker → · Palette generator →

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