#97912E#97912E

#97912E is a light, moderate yellow. Relative luminance 0.270; OKLCH L 64.3% C 0.118 H 105.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#97912E
RGBrgb(151, 145, 46)
HSLhsl(57, 53%, 39%)
HSVhsv(57, 70%, 59%)
CMYKcmyk(0%, 4%, 69.5%, 40.8%)
CIE-LABlab(59.00, -9.98, 50.87)
CIE-LCHlch(59.00, 51.84, 101.11°)
OKLaboklab(64.31% -0.0323 0.1138)
OKLCHoklch(64.31% 0.118 105.9)
XYZxyz(23.3819, 27.0282, 6.5695)
Luminance0.2703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97912E #2E3497
analogous
#975C2E #97912E #68972E
triadic
#97912E #2E9791 #912E97
tetradic
#97912E #2E975C #2E3497 #972E68
square
#97912E #2E975C #2E3497 #972E68
split-complementary
#97912E #2E6897 #5C2E97
monochromatic
#393711 #686420 #97912E #C4BD3E #D2CD6D

Accessibility & contrast

On white

3.28
#97912E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#97912E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97912E
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97912E#FFFFFF#000000##000000
##97912E1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1F
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#A2877D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #97912e;
/* rgb */ color: rgb(151, 145, 46);
/* oklch */ color: oklch(64.3% 0.118 105.9);
Tailwind
colors: {
  custom: {
    50: '#b9b16d',
    500: '#97912e',
    950: '#000000',
  },
}
SCSS
$custom: #97912e;
$custom-light: #b9b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#97912e",
  "rgb": {
    "r": 151,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 56.571,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64312,
    "c": 0.11828,
    "h": 105.9
  },
  "luminance": 0.27027
}

Semantic roles & 50–950 ramp

primary
#97912E
secondary
#676CBA
accent
#53DD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #97912E

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

Preview Lab → · Contrast checker → · Palette generator →

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