#98912F#98912F

#98912F is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.4% C 0.117 H 105.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#98912F
RGBrgb(152, 145, 47)
HSLhsl(56, 53%, 39%)
HSVhsv(56, 69%, 60%)
CMYKcmyk(0%, 4.6%, 69.1%, 40.4%)
CIE-LABlab(59.10, -9.48, 50.58)
CIE-LCHlch(59.10, 51.46, 100.62°)
OKLaboklab(64.41% -0.0309 0.1133)
OKLCHoklch(64.41% 0.117 105.2)
XYZxyz(23.5883, 27.1323, 6.6833)
Luminance0.2713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98912F #2F3698
analogous
#985D2F #98912F #6B982F
triadic
#98912F #2F9891 #912F98
tetradic
#98912F #2F985D #2F3698 #982F6B
square
#98912F #2F985D #2F3698 #982F6B
split-complementary
#98912F #2F6B98 #5D2F98
monochromatic
#3B3812 #696421 #98912F #C4BB40 #D2CC6F

Accessibility & contrast

On white

3.27
#98912F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#98912F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98912F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98912F#FFFFFF#000000##000000
##98912F1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98912f;
/* rgb */ color: rgb(152, 145, 47);
/* oklch */ color: oklch(64.4% 0.117 105.2);
Tailwind
colors: {
  custom: {
    50: '#b9b16d',
    500: '#98912f',
    950: '#000000',
  },
}
SCSS
$custom: #98912f;
$custom-light: #b9b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#98912f",
  "rgb": {
    "r": 152,
    "g": 145,
    "b": 47
  },
  "hsl": {
    "h": 56,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64413,
    "c": 0.11745,
    "h": 105.2
  },
  "luminance": 0.27131
}

Semantic roles & 50–950 ramp

primary
#98912F
secondary
#696EBA
accent
#55DC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #98912F

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

Preview Lab → · Contrast checker → · Palette generator →

#98912F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva