#97901B#97901B

#97901B is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.0% C 0.128 H 105.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#97901B
RGBrgb(151, 144, 27)
HSLhsl(57, 70%, 35%)
HSVhsv(57, 82%, 59%)
CMYKcmyk(0%, 4.6%, 82.1%, 40.8%)
CIE-LABlab(58.61, -10.30, 57.19)
CIE-LCHlch(58.61, 58.11, 100.21°)
OKLaboklab(63.97% -0.035 0.1236)
OKLCHoklch(63.97% 0.128 105.8)
XYZxyz(22.9346, 26.6059, 4.9641)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97901B #1B2297
analogous
#97521B #97901B #60971B
triadic
#97901B #1B9790 #901B97
tetradic
#97901B #1B9752 #1B2297 #971B60
square
#97901B #1B9752 #1B2297 #971B60
split-complementary
#97901B #1B6097 #521B97
monochromatic
#2F2D08 #635E12 #97901B #CBC224 #DFD74D

Accessibility & contrast

On white

3.32
#97901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#97901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97901B
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97901B#FFFFFF#000000##000000
##97901B1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#A08F25
Tritanopia (blue-blind)
#A3867B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #97901b;
/* rgb */ color: rgb(151, 144, 27);
/* oklch */ color: oklch(64.0% 0.128 105.8);
Tailwind
colors: {
  custom: {
    50: '#b9b064',
    500: '#97901b',
    950: '#000000',
  },
}
SCSS
$custom: #97901b;
$custom-light: #b9b064;
$custom-dark: #000000;
JSON
{
  "hex": "#97901b",
  "rgb": {
    "r": 151,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 56.613,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63965,
    "c": 0.12845,
    "h": 105.8
  },
  "luminance": 0.26605
}

Semantic roles & 50–950 ramp

primary
#97901B
secondary
#4C53C1
accent
#45EC3B
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97901B

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

Preview Lab → · Contrast checker → · Palette generator →

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