#98812E#98812E

#98812E is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.9% C 0.105 H 93.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#98812E
RGBrgb(152, 129, 46)
HSLhsl(47, 54%, 39%)
HSVhsv(47, 70%, 60%)
CMYKcmyk(0%, 15.1%, 69.7%, 40.4%)
CIE-LABlab(54.63, -0.77, 46.44)
CIE-LCHlch(54.63, 46.45, 90.95°)
OKLaboklab(60.87% -0.0062 0.1044)
OKLCHoklch(60.87% 0.105 93.4)
XYZxyz(21.2934, 22.5743, 5.8200)
Luminance0.2257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98812E #2E4598
analogous
#984C2E #98812E #7A982E
triadic
#98812E #2E9881 #812E98
tetradic
#98812E #2E984C #2E4598 #982E7A
square
#98812E #2E984C #2E4598 #982E7A
split-complementary
#98812E #2E7A98 #4C2E98
monochromatic
#3A3112 #695920 #98812E #C5A83E #D3BD6D

Accessibility & contrast

On white

3.81
#98812E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#98812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98812E
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98812E#FFFFFF#000000##000000
##98812E1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#948632
Tritanopia (blue-blind)
#A47770
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #98812e;
/* rgb */ color: rgb(152, 129, 46);
/* oklch */ color: oklch(60.9% 0.105 93.4);
Tailwind
colors: {
  custom: {
    50: '#baa56b',
    500: '#98812e',
    950: '#000000',
  },
}
SCSS
$custom: #98812e;
$custom-light: #baa56b;
$custom-dark: #000000;
JSON
{
  "hex": "#98812e",
  "rgb": {
    "r": 152,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 46.981,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60869,
    "c": 0.10457,
    "h": 93.4
  },
  "luminance": 0.22573
}

Semantic roles & 50–950 ramp

primary
#98812E
secondary
#687ABA
accent
#6BDD4B
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #98812E

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

Preview Lab → · Contrast checker → · Palette generator →

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