#98912D#98912D

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

Color values

HEX#98912D
RGBrgb(152, 145, 45)
HSLhsl(56, 54%, 39%)
HSVhsv(56, 70%, 60%)
CMYKcmyk(0%, 4.6%, 70.4%, 40.4%)
CIE-LABlab(59.08, -9.59, 51.38)
CIE-LCHlch(59.08, 52.27, 100.57°)
OKLaboklab(64.4% -0.0314 0.1147)
OKLCHoklch(64.4% 0.119 105.3)
XYZxyz(23.5489, 27.1165, 6.4757)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98912D #2D3498
analogous
#985B2D #98912D #69982D
triadic
#98912D #2D9891 #912D98
tetradic
#98912D #2D985B #2D3498 #982D69
square
#98912D #2D985B #2D3498 #982D69
split-complementary
#98912D #2D6998 #5B2D98
monochromatic
#3A3711 #69641F #98912D #C5BD3D #D3CD6C

Accessibility & contrast

On white

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

On black

6.42
#98912D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98912D
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98912D#FFFFFF#000000##000000
##98912D1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98912d;
/* rgb */ color: rgb(152, 145, 45);
/* oklch */ color: oklch(64.4% 0.119 105.3);
Tailwind
colors: {
  custom: {
    50: '#b9b16c',
    500: '#98912d',
    950: '#000000',
  },
}
SCSS
$custom: #98912d;
$custom-light: #b9b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#98912d",
  "rgb": {
    "r": 152,
    "g": 145,
    "b": 45
  },
  "hsl": {
    "h": 56.075,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64397,
    "c": 0.11888,
    "h": 105.3
  },
  "luminance": 0.27116
}

Semantic roles & 50–950 ramp

primary
#98912D
secondary
#666CBA
accent
#54DE4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #98912D

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

Preview Lab → · Contrast checker → · Palette generator →

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