#97902C#97902C

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

Color values

HEX#97902C
RGBrgb(151, 144, 44)
HSLhsl(56, 55%, 38%)
HSVhsv(56, 71%, 59%)
CMYKcmyk(0%, 4.6%, 70.9%, 40.8%)
CIE-LABlab(58.70, -9.56, 51.38)
CIE-LCHlch(58.70, 52.26, 100.54°)
OKLaboklab(64.07% -0.0314 0.1145)
OKLCHoklch(64.07% 0.119 105.3)
XYZxyz(23.1913, 26.7085, 6.3160)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97902C #2C3397
analogous
#975A2C #97902C #68972C
triadic
#97902C #2C9790 #902C97
tetradic
#97902C #2C975A #2C3397 #972C68
square
#97902C #2C975A #2C3397 #972C68
split-complementary
#97902C #2C6897 #5A2C97
monochromatic
#383610 #68631E #97902C #C6BD3A #D4CD6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97902C#FFFFFF#000000##000000
##97902C1.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)
#9D8B1C
Deuteranopia (green-blind)
#9F8F33
Tritanopia (blue-blind)
#A2867C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #97902c;
/* rgb */ color: rgb(151, 144, 44);
/* oklch */ color: oklch(64.1% 0.119 105.3);
Tailwind
colors: {
  custom: {
    50: '#b9b06c',
    500: '#97902c',
    950: '#000000',
  },
}
SCSS
$custom: #97902c;
$custom-light: #b9b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#97902c",
  "rgb": {
    "r": 151,
    "g": 144,
    "b": 44
  },
  "hsl": {
    "h": 56.075,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64072,
    "c": 0.11871,
    "h": 105.3
  },
  "luminance": 0.26708
}

Semantic roles & 50–950 ramp

primary
#97902C
secondary
#656ABA
accent
#53DE4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #97902C

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

Preview Lab → · Contrast checker → · Palette generator →

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