#97902A#97902A

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

Color values

HEX#97902A
RGBrgb(151, 144, 42)
HSLhsl(56, 56%, 38%)
HSVhsv(56, 72%, 59%)
CMYKcmyk(0%, 4.6%, 72.2%, 40.8%)
CIE-LABlab(58.69, -9.66, 52.15)
CIE-LCHlch(58.69, 53.04, 100.50°)
OKLaboklab(64.06% -0.0319 0.1158)
OKLCHoklch(64.06% 0.12 105.4)
XYZxyz(23.1546, 26.6939, 6.1228)
Luminance0.2669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97902A #2A3197
analogous
#975A2A #97902A #67972A
triadic
#97902A #2A9790 #902A97
tetradic
#97902A #2A975A #2A3197 #972A67
square
#97902A #2A975A #2A3197 #972A67
split-complementary
#97902A #2A6797 #5A2A97
monochromatic
#37350F #67621D #97902A #C7BE37 #D5CE67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97902A#FFFFFF#000000##000000
##97902A1.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)
#9D8B19
Deuteranopia (green-blind)
#9F8F31
Tritanopia (blue-blind)
#A2867C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #97902a;
/* rgb */ color: rgb(151, 144, 42);
/* oklch */ color: oklch(64.1% 0.120 105.4);
Tailwind
colors: {
  custom: {
    50: '#b9b06b',
    500: '#97902a',
    950: '#000000',
  },
}
SCSS
$custom: #97902a;
$custom-light: #b9b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#97902a",
  "rgb": {
    "r": 151,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 56.147,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64056,
    "c": 0.12007,
    "h": 105.4
  },
  "luminance": 0.26693
}

Semantic roles & 50–950 ramp

primary
#97902A
secondary
#6268BB
accent
#52E048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #97902A

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

Preview Lab → · Contrast checker → · Palette generator →

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