#97902B#97902B

#97902B is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.1% C 0.119 H 105.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#97902B
RGBrgb(151, 144, 43)
HSLhsl(56, 56%, 38%)
HSVhsv(56, 72%, 59%)
CMYKcmyk(0%, 4.6%, 71.5%, 40.8%)
CIE-LABlab(58.70, -9.61, 51.77)
CIE-LCHlch(58.70, 52.65, 100.52°)
OKLaboklab(64.06% -0.0316 0.1151)
OKLCHoklch(64.06% 0.119 105.4)
XYZxyz(23.1727, 26.7011, 6.2182)
Luminance0.2670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97902B #2B3297
analogous
#975A2B #97902B #68972B
triadic
#97902B #2B9790 #902B97
tetradic
#97902B #2B975A #2B3297 #972B68
square
#97902B #2B975A #2B3297 #972B68
split-complementary
#97902B #2B6897 #5A2B97
monochromatic
#383510 #67631D #97902B #C7BD39 #D4CD68

Accessibility & contrast

On white

3.31
#97902B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#97902B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97902B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97902B#FFFFFF#000000##000000
##97902B1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B1B
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#A2867C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #97902b;
/* rgb */ color: rgb(151, 144, 43);
/* oklch */ color: oklch(64.1% 0.119 105.4);
Tailwind
colors: {
  custom: {
    50: '#b9b06b',
    500: '#97902b',
    950: '#000000',
  },
}
SCSS
$custom: #97902b;
$custom-light: #b9b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#97902b",
  "rgb": {
    "r": 151,
    "g": 144,
    "b": 43
  },
  "hsl": {
    "h": 56.111,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64064,
    "c": 0.1194,
    "h": 105.4
  },
  "luminance": 0.267
}

Semantic roles & 50–950 ramp

primary
#97902B
secondary
#6369BB
accent
#53DF49
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #97902B

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

Preview Lab → · Contrast checker → · Palette generator →

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