#94971B#94971B

#94971B is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.3% C 0.136 H 111.1°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#94971B
RGBrgb(148, 151, 27)
HSLhsl(61, 70%, 35%)
HSVhsv(61, 82%, 59%)
CMYKcmyk(2%, 0%, 82.1%, 40.8%)
CIE-LABlab(60.35, -15.36, 58.59)
CIE-LCHlch(60.35, 60.57, 104.68°)
OKLaboklab(65.29% -0.0489 0.1268)
OKLCHoklch(65.29% 0.136 111.1)
XYZxyz(23.4780, 28.5089, 5.3027)
Luminance0.2851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94971B #1E1B97
analogous
#975C1B #94971B #56971B
triadic
#94971B #1B9497 #971B94
tetradic
#94971B #1B975C #1E1B97 #971B56
square
#94971B #1B975C #1E1B97 #971B56
split-complementary
#94971B #1B5697 #5C1B97
monochromatic
#2E2F08 #616312 #94971B #C7CB24 #DCDF4D

Accessibility & contrast

On white

3.13
#94971B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#94971B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #94971B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94971B#FFFFFF#000000##000000
##94971B1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#A49327
Tritanopia (blue-blind)
#9F8D81
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #94971b;
/* rgb */ color: rgb(148, 151, 27);
/* oklch */ color: oklch(65.3% 0.136 111.1);
Tailwind
colors: {
  custom: {
    50: '#b7b565',
    500: '#94971b',
    950: '#000000',
  },
}
SCSS
$custom: #94971b;
$custom-light: #b7b565;
$custom-dark: #000000;
JSON
{
  "hex": "#94971b",
  "rgb": {
    "r": 148,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 61.452,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6529,
    "c": 0.13588,
    "h": 111.1
  },
  "luminance": 0.28508
}

Semantic roles & 50–950 ramp

primary
#94971B
secondary
#4F4CC1
accent
#3BEC40
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #94971B

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

Preview Lab → · Contrast checker → · Palette generator →

#94971B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva