#998E2E#998E2E

#998E2E is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.8% C 0.115 H 102.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#998E2E
RGBrgb(153, 142, 46)
HSLhsl(54, 54%, 39%)
HSVhsv(54, 70%, 60%)
CMYKcmyk(0%, 7.2%, 69.9%, 40%)
CIE-LABlab(58.34, -7.47, 50.26)
CIE-LCHlch(58.34, 50.81, 98.45°)
OKLaboklab(63.83% -0.0253 0.1124)
OKLCHoklch(63.83% 0.115 102.7)
XYZxyz(23.3040, 26.3165, 6.4363)
Luminance0.2632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998E2E #2E3999
analogous
#99592E #998E2E #6F992E
triadic
#998E2E #2E998E #8E2E99
tetradic
#998E2E #2E9959 #2E3999 #992E6F
square
#998E2E #2E9959 #2E3999 #992E6F
split-complementary
#998E2E #2E6F99 #592E99
monochromatic
#3B3712 #6A6220 #998E2E #C5B73F #D3C96E

Accessibility & contrast

On white

3.35
#998E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#998E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998E2E
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998E2E#FFFFFF#000000##000000
##998E2E1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8920
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#A5847B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998e2e;
/* rgb */ color: rgb(153, 142, 46);
/* oklch */ color: oklch(63.8% 0.115 102.7);
Tailwind
colors: {
  custom: {
    50: '#baae6d',
    500: '#998e2e',
    950: '#000000',
  },
}
SCSS
$custom: #998e2e;
$custom-light: #baae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#998e2e",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 53.832,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63827,
    "c": 0.11524,
    "h": 102.7
  },
  "luminance": 0.26316
}

Semantic roles & 50–950 ramp

primary
#998E2E
secondary
#6871BB
accent
#5ADD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998E2E

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

Preview Lab → · Contrast checker → · Palette generator →

#998E2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva