#98842E#98842E

#98842E is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.5% C 0.107 H 95.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#98842E
RGBrgb(152, 132, 46)
HSLhsl(49, 54%, 39%)
HSVhsv(49, 70%, 60%)
CMYKcmyk(0%, 13.2%, 69.7%, 40.4%)
CIE-LABlab(55.46, -2.44, 47.29)
CIE-LCHlch(55.46, 47.36, 92.96°)
OKLaboklab(61.52% -0.011 0.1062)
OKLCHoklch(61.52% 0.107 95.9)
XYZxyz(21.6943, 23.3763, 5.9536)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98842E #2E4298
analogous
#984F2E #98842E #77982E
triadic
#98842E #2E9884 #842E98
tetradic
#98842E #2E984F #2E4298 #982E77
square
#98842E #2E984F #2E4298 #982E77
split-complementary
#98842E #2E7798 #4F2E98
monochromatic
#3A3212 #695B20 #98842E #C5AB3E #D3C06D

Accessibility & contrast

On white

3.70
#98842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#98842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98842E
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98842E#FFFFFF#000000##000000
##98842E1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#978833
Tritanopia (blue-blind)
#A47A72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #98842e;
/* rgb */ color: rgb(152, 132, 46);
/* oklch */ color: oklch(61.5% 0.107 95.9);
Tailwind
colors: {
  custom: {
    50: '#baa76c',
    500: '#98842e',
    950: '#000000',
  },
}
SCSS
$custom: #98842e;
$custom-light: #baa76c;
$custom-dark: #000000;
JSON
{
  "hex": "#98842e",
  "rgb": {
    "r": 152,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 48.679,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61522,
    "c": 0.10675,
    "h": 95.9
  },
  "luminance": 0.23375
}

Semantic roles & 50–950 ramp

primary
#98842E
secondary
#6877BA
accent
#66DD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #98842E

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

Preview Lab → · Contrast checker → · Palette generator →

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