#94A71F#94A71F

#94A71F is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.0% C 0.151 H 117.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#94A71F
RGBrgb(148, 167, 31)
HSLhsl(68, 69%, 39%)
HSVhsv(68, 81%, 65%)
CMYKcmyk(11.4%, 0%, 81.4%, 34.5%)
CIE-LABlab(64.99, -23.35, 61.55)
CIE-LCHlch(64.99, 65.83, 110.78°)
OKLaboklab(69.02% -0.0707 0.1338)
OKLCHoklch(69.02% 0.151 117.9)
XYZxyz(26.2794, 34.0325, 6.4806)
Luminance0.3403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94A71F #321FA7
analogous
#A7761F #94A71F #50A71F
triadic
#94A71F #1F94A7 #A71F94
tetradic
#94A71F #1FA776 #321FA7 #A71F50
square
#94A71F #1FA776 #321FA7 #A71F50
split-complementary
#94A71F #1F50A7 #761FA7
monochromatic
#39400C #667315 #94A71F #C0D82B #CFE15F

Accessibility & contrast

On white

2.69
#94A71F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#94A71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #94A71F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94A71F#FFFFFF#000000##000000
##94A71F1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#B19E2D
Tritanopia (blue-blind)
#9E9D8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #94a71f;
/* rgb */ color: rgb(148, 167, 31);
/* oklch */ color: oklch(69.0% 0.151 117.9);
Tailwind
colors: {
  custom: {
    50: '#b7c168',
    500: '#94a71f',
    950: '#000000',
  },
}
SCSS
$custom: #94a71f;
$custom-light: #b7c168;
$custom-dark: #000000;
JSON
{
  "hex": "#94a71f",
  "rgb": {
    "r": 148,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 68.382,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.69021,
    "c": 0.15134,
    "h": 117.9
  },
  "luminance": 0.34032
}

Semantic roles & 50–950 ramp

primary
#94A71F
secondary
#6B5CC6
accent
#3CEC55
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #94A71F

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

Preview Lab → · Contrast checker → · Palette generator →

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