#94A81F#94A81F

#94A81F is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.3% C 0.152 H 118.2°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#94A81F
RGBrgb(148, 168, 31)
HSLhsl(69, 69%, 39%)
HSVhsv(69, 82%, 66%)
CMYKcmyk(11.9%, 0%, 81.5%, 34.1%)
CIE-LABlab(65.28, -23.85, 61.80)
CIE-LCHlch(65.28, 66.25, 111.10°)
OKLaboklab(69.26% -0.0721 0.1344)
OKLCHoklch(69.26% 0.152 118.2)
XYZxyz(26.4633, 34.4003, 6.5419)
Luminance0.3440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94A81F #331FA8
analogous
#A8781F #94A81F #50A81F
triadic
#94A81F #1F94A8 #A81F94
tetradic
#94A81F #1FA878 #331FA8 #A81F50
square
#94A81F #1FA878 #331FA8 #A81F50
split-complementary
#94A81F #1F50A8 #781FA8
monochromatic
#39410C #667415 #94A81F #BFD82C #CFE260

Accessibility & contrast

On white

2.66
#94A81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#94A81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #94A81F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94A81F#FFFFFF#000000##000000
##94A81F1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B29F2D
Tritanopia (blue-blind)
#9D9E8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #94a81f;
/* rgb */ color: rgb(148, 168, 31);
/* oklch */ color: oklch(69.3% 0.152 118.2);
Tailwind
colors: {
  custom: {
    50: '#b7c169',
    500: '#94a81f',
    950: '#000000',
  },
}
SCSS
$custom: #94a81f;
$custom-light: #b7c169;
$custom-dark: #000000;
JSON
{
  "hex": "#94a81f",
  "rgb": {
    "r": 148,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 68.759,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69255,
    "c": 0.15246,
    "h": 118.2
  },
  "luminance": 0.344
}

Semantic roles & 50–950 ramp

primary
#94A81F
secondary
#6C5DC6
accent
#3CEC56
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #94A81F

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

Preview Lab → · Contrast checker → · Palette generator →

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