#97942A#97942A

#97942A is a light, vivid yellow. Relative luminance 0.279; OKLCH L 65.0% C 0.124 H 107.8°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#97942A
RGBrgb(151, 148, 42)
HSLhsl(58, 56%, 38%)
HSVhsv(58, 72%, 59%)
CMYKcmyk(0%, 2%, 72.2%, 40.8%)
CIE-LABlab(59.82, -11.80, 53.26)
CIE-LCHlch(59.82, 54.55, 102.49°)
OKLaboklab(64.96% -0.0379 0.1181)
OKLCHoklch(64.96% 0.124 107.8)
XYZxyz(23.7712, 27.9271, 6.3283)
Luminance0.2793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97942A #2A2D97
analogous
#975E2A #97942A #63972A
triadic
#97942A #2A9794 #942A97
tetradic
#97942A #2A975E #2A2D97 #972A63
square
#97942A #2A975E #2A2D97 #972A63
split-complementary
#97942A #2A6397 #5E2A97
monochromatic
#37360F #67651D #97942A #C7C337 #D5D267

Accessibility & contrast

On white

3.19
#97942A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#97942A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97942A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97942A#FFFFFF#000000##000000
##97942A1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E18
Deuteranopia (green-blind)
#A29232
Tritanopia (blue-blind)
#A28A7F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #97942a;
/* rgb */ color: rgb(151, 148, 42);
/* oklch */ color: oklch(65.0% 0.124 107.8);
Tailwind
colors: {
  custom: {
    50: '#b9b36b',
    500: '#97942a',
    950: '#000000',
  },
}
SCSS
$custom: #97942a;
$custom-light: #b9b36b;
$custom-dark: #000000;
JSON
{
  "hex": "#97942a",
  "rgb": {
    "r": 151,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 58.349,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64959,
    "c": 0.12402,
    "h": 107.8
  },
  "luminance": 0.27926
}

Semantic roles & 50–950 ramp

primary
#97942A
secondary
#6264BB
accent
#4CE048
background
#FBFAF6
surface
#F7F5EC
border
#D0CFC7
text
#121107
muted
#81807A

Preview Lab

Preview with #97942A

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

Preview Lab → · Contrast checker → · Palette generator →

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