#99812D#99812D

#99812D is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 61.0% C 0.105 H 92.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#99812D
RGBrgb(153, 129, 45)
HSLhsl(47, 55%, 39%)
HSVhsv(47, 71%, 60%)
CMYKcmyk(0%, 15.7%, 70.6%, 40%)
CIE-LABlab(54.72, -0.37, 47.01)
CIE-LCHlch(54.72, 47.01, 90.46°)
OKLaboklab(60.96% -0.0052 0.1054)
OKLCHoklch(60.96% 0.106 92.8)
XYZxyz(21.4619, 22.6635, 5.7262)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99812D #2D4599
analogous
#994B2D #99812D #7B992D
triadic
#99812D #2D9981 #812D99
tetradic
#99812D #2D994B #2D4599 #992D7B
square
#99812D #2D994B #2D4599 #992D7B
split-complementary
#99812D #2D7B99 #4B2D99
monochromatic
#3A3111 #6A591F #99812D #C6A83D #D4BD6C

Accessibility & contrast

On white

3.80
#99812D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#99812D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #99812D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99812D#FFFFFF#000000##000000
##99812D1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#A57770
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #99812d;
/* rgb */ color: rgb(153, 129, 45);
/* oklch */ color: oklch(61.0% 0.105 92.8);
Tailwind
colors: {
  custom: {
    50: '#baa56b',
    500: '#99812d',
    950: '#000000',
  },
}
SCSS
$custom: #99812d;
$custom-light: #baa56b;
$custom-dark: #000000;
JSON
{
  "hex": "#99812d",
  "rgb": {
    "r": 153,
    "g": 129,
    "b": 45
  },
  "hsl": {
    "h": 46.667,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60963,
    "c": 0.1055,
    "h": 92.8
  },
  "luminance": 0.22662
}

Semantic roles & 50–950 ramp

primary
#99812D
secondary
#677ABB
accent
#6BDE4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #99812D

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

Preview Lab → · Contrast checker → · Palette generator →

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