#94A01F#94A01F

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

Color values

HEX#94A01F
RGBrgb(148, 160, 31)
HSLhsl(66, 68%, 37%)
HSVhsv(66, 81%, 63%)
CMYKcmyk(7.5%, 0%, 80.6%, 37.3%)
CIE-LABlab(62.96, -19.84, 59.75)
CIE-LCHlch(62.96, 62.96, 108.37°)
OKLaboklab(67.39% -0.061 0.13)
OKLCHoklch(67.39% 0.144 115.2)
XYZxyz(25.0316, 31.5369, 6.0647)
Luminance0.3154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94A01F #2B1FA0
analogous
#A06B1F #94A01F #54A01F
triadic
#94A01F #1F94A0 #A01F94
tetradic
#94A01F #1FA06B #2B1FA0 #A01F54
square
#94A01F #1FA06B #2B1FA0 #A01F54
split-complementary
#94A01F #1F54A0 #6B1FA0
monochromatic
#35390B #656D15 #94A01F #C3D329 #D3DF5A

Accessibility & contrast

On white

2.87
#94A01F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#94A01F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #94A01F
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94A01F#FFFFFF#000000##000000
##94A01F1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #94a01f;
/* rgb */ color: rgb(148, 160, 31);
/* oklch */ color: oklch(67.4% 0.144 115.2);
Tailwind
colors: {
  custom: {
    50: '#b7bb67',
    500: '#94a01f',
    950: '#000000',
  },
}
SCSS
$custom: #94a01f;
$custom-light: #b7bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#94a01f",
  "rgb": {
    "r": 148,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 65.581,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.67389,
    "c": 0.1436,
    "h": 115.2
  },
  "luminance": 0.31536
}

Semantic roles & 50–950 ramp

primary
#94A01F
secondary
#6258C3
accent
#3DEA4D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #94A01F

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

Preview Lab → · Contrast checker → · Palette generator →

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