#99842D#99842D

#99842D is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.6% C 0.108 H 95.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#99842D
RGBrgb(153, 132, 45)
HSLhsl(48, 55%, 39%)
HSVhsv(48, 71%, 60%)
CMYKcmyk(0%, 13.7%, 70.6%, 40%)
CIE-LABlab(55.55, -2.04, 47.85)
CIE-LCHlch(55.55, 47.89, 92.44°)
OKLaboklab(61.61% -0.01 0.1072)
OKLCHoklch(61.61% 0.108 95.3)
XYZxyz(21.8629, 23.4654, 5.8598)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99842D #2D4299
analogous
#994E2D #99842D #78992D
triadic
#99842D #2D9984 #842D99
tetradic
#99842D #2D994E #2D4299 #992D78
square
#99842D #2D994E #2D4299 #992D78
split-complementary
#99842D #2D7899 #4E2D99
monochromatic
#3A3211 #6A5B1F #99842D #C6AB3D #D4C06C

Accessibility & contrast

On white

3.69
#99842D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#99842D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #99842D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99842D#FFFFFF#000000##000000
##99842D1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928121
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#A57A72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #99842d;
/* rgb */ color: rgb(153, 132, 45);
/* oklch */ color: oklch(61.6% 0.108 95.3);
Tailwind
colors: {
  custom: {
    50: '#baa76b',
    500: '#99842d',
    950: '#000000',
  },
}
SCSS
$custom: #99842d;
$custom-light: #baa76b;
$custom-dark: #000000;
JSON
{
  "hex": "#99842d",
  "rgb": {
    "r": 153,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 48.333,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61615,
    "c": 0.10762,
    "h": 95.3
  },
  "luminance": 0.23464
}

Semantic roles & 50–950 ramp

primary
#99842D
secondary
#6777BB
accent
#67DE4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #99842D

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

Preview Lab → · Contrast checker → · Palette generator →

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