#94A51F#94A51F

#94A51F is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.6% C 0.149 H 117.1°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#94A51F
RGBrgb(148, 165, 31)
HSLhsl(68, 68%, 38%)
HSVhsv(68, 81%, 65%)
CMYKcmyk(10.3%, 0%, 81.2%, 35.3%)
CIE-LABlab(64.41, -22.36, 61.04)
CIE-LCHlch(64.41, 65.00, 110.12°)
OKLaboklab(68.55% -0.068 0.1327)
OKLCHoklch(68.55% 0.149 117.1)
XYZxyz(25.9159, 33.3054, 6.3594)
Luminance0.3331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94A51F #301FA5
analogous
#A5731F #94A51F #51A51F
triadic
#94A51F #1F94A5 #A51F94
tetradic
#94A51F #1FA573 #301FA5 #A51F51
square
#94A51F #1FA573 #301FA5 #A51F51
split-complementary
#94A51F #1F51A5 #731FA5
monochromatic
#383E0C #667115 #94A51F #C1D72A #D0E15E

Accessibility & contrast

On white

2.74
#94A51F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#94A51F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #94A51F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94A51F#FFFFFF#000000##000000
##94A51F1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AF9D2D
Tritanopia (blue-blind)
#9E9B8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #94a51f;
/* rgb */ color: rgb(148, 165, 31);
/* oklch */ color: oklch(68.6% 0.149 117.1);
Tailwind
colors: {
  custom: {
    50: '#b7bf68',
    500: '#94a51f',
    950: '#000000',
  },
}
SCSS
$custom: #94a51f;
$custom-light: #b7bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#94a51f",
  "rgb": {
    "r": 148,
    "g": 165,
    "b": 31
  },
  "hsl": {
    "h": 67.612,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68554,
    "c": 0.14911,
    "h": 117.1
  },
  "luminance": 0.33305
}

Semantic roles & 50–950 ramp

primary
#94A51F
secondary
#685BC5
accent
#3DEB53
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #94A51F

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

Preview Lab → · Contrast checker → · Palette generator →

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