#97942E#97942E

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

Color values

HEX#97942E
RGBrgb(151, 148, 46)
HSLhsl(58, 53%, 39%)
HSVhsv(58, 70%, 59%)
CMYKcmyk(0%, 2%, 69.5%, 40.8%)
CIE-LABlab(59.85, -11.59, 51.72)
CIE-LCHlch(59.85, 53.00, 102.63°)
OKLaboklab(64.99% -0.0368 0.1156)
OKLCHoklch(64.99% 0.121 107.7)
XYZxyz(23.8464, 27.9571, 6.7244)
Luminance0.2796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97942E #2E3197
analogous
#975F2E #97942E #65972E
triadic
#97942E #2E9794 #942E97
tetradic
#97942E #2E975F #2E3197 #972E65
square
#97942E #2E975F #2E3197 #972E65
split-complementary
#97942E #2E6597 #5F2E97
monochromatic
#393811 #686620 #97942E #C4C03E #D2D06D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97942E#FFFFFF#000000##000000
##97942E1.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)
#A08E1E
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#A28A80
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #97942e;
/* rgb */ color: rgb(151, 148, 46);
/* oklch */ color: oklch(65.0% 0.121 107.7);
Tailwind
colors: {
  custom: {
    50: '#b9b36d',
    500: '#97942e',
    950: '#000000',
  },
}
SCSS
$custom: #97942e;
$custom-light: #b9b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#97942e",
  "rgb": {
    "r": 151,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 58.286,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6499,
    "c": 0.12131,
    "h": 107.7
  },
  "luminance": 0.27956
}

Semantic roles & 50–950 ramp

primary
#97942E
secondary
#6769BA
accent
#4FDD4B
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#121107
muted
#81807A

Preview Lab

Preview with #97942E

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

Preview Lab → · Contrast checker → · Palette generator →

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