#99841F#99841F

#99841F is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.5% C 0.117 H 96.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#99841F
RGBrgb(153, 132, 31)
HSLhsl(50, 66%, 36%)
HSVhsv(50, 80%, 60%)
CMYKcmyk(0%, 13.7%, 79.7%, 40%)
CIE-LABlab(55.46, -2.71, 53.20)
CIE-LCHlch(55.46, 53.27, 92.91°)
OKLaboklab(61.51% -0.0134 0.1157)
OKLCHoklch(61.51% 0.117 96.6)
XYZxyz(21.6366, 23.3749, 4.6682)
Luminance0.2337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99841F #1F3499
analogous
#99471F #99841F #71991F
triadic
#99841F #1F9984 #841F99
tetradic
#99841F #1F9947 #1F3499 #991F71
square
#99841F #1F9947 #1F3499 #991F71
split-complementary
#99841F #1F7199 #471F99
monochromatic
#332C0A #665815 #99841F #CCB029 #DDC556

Accessibility & contrast

On white

3.70
#99841F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#99841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #99841F
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99841F#FFFFFF#000000##000000
##99841F1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928107
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#A67971
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #99841f;
/* rgb */ color: rgb(153, 132, 31);
/* oklch */ color: oklch(61.5% 0.117 96.6);
Tailwind
colors: {
  custom: {
    50: '#bba764',
    500: '#99841f',
    950: '#000000',
  },
}
SCSS
$custom: #99841f;
$custom-light: #bba764;
$custom-dark: #000000;
JSON
{
  "hex": "#99841f",
  "rgb": {
    "r": 153,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 49.672,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61512,
    "c": 0.1165,
    "h": 96.6
  },
  "luminance": 0.23374
}

Semantic roles & 50–950 ramp

primary
#99841F
secondary
#5466C0
accent
#5CE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #99841F

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

Preview Lab → · Contrast checker → · Palette generator →

#99841F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva