#98912E#98912E

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

Color values

HEX#98912E
RGBrgb(152, 145, 46)
HSLhsl(56, 54%, 39%)
HSVhsv(56, 70%, 60%)
CMYKcmyk(0%, 4.6%, 69.7%, 40.4%)
CIE-LABlab(59.09, -9.54, 50.99)
CIE-LCHlch(59.09, 51.87, 100.59°)
OKLaboklab(64.41% -0.0311 0.114)
OKLCHoklch(64.41% 0.118 105.3)
XYZxyz(23.5684, 27.1243, 6.5783)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98912E #2E3598
analogous
#985C2E #98912E #6A982E
triadic
#98912E #2E9891 #912E98
tetradic
#98912E #2E985C #2E3598 #982E6A
square
#98912E #2E985C #2E3598 #982E6A
split-complementary
#98912E #2E6A98 #5C2E98
monochromatic
#3A3712 #696420 #98912E #C5BC3E #D3CC6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98912E#FFFFFF#000000##000000
##98912E1.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)
#9E8C1F
Deuteranopia (green-blind)
#A09034
Tritanopia (blue-blind)
#A3877D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #98912e;
/* rgb */ color: rgb(152, 145, 46);
/* oklch */ color: oklch(64.4% 0.118 105.3);
Tailwind
colors: {
  custom: {
    50: '#b9b16d',
    500: '#98912e',
    950: '#000000',
  },
}
SCSS
$custom: #98912e;
$custom-light: #b9b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#98912e",
  "rgb": {
    "r": 152,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 56.038,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64405,
    "c": 0.11817,
    "h": 105.3
  },
  "luminance": 0.27123
}

Semantic roles & 50–950 ramp

primary
#98912E
secondary
#686DBA
accent
#55DD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #98912E

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

Preview Lab → · Contrast checker → · Palette generator →

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