#998F29#998F29

#998F29 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.0% C 0.120 H 103.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#998F29
RGBrgb(153, 143, 41)
HSLhsl(55, 58%, 38%)
HSVhsv(55, 73%, 60%)
CMYKcmyk(0%, 6.5%, 73.2%, 40%)
CIE-LABlab(58.58, -8.28, 52.49)
CIE-LCHlch(58.58, 53.14, 98.96°)
OKLaboklab(64.01% -0.0282 0.1162)
OKLCHoklch(64.01% 0.12 103.6)
XYZxyz(23.3606, 26.5783, 5.9970)
Luminance0.2658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F29 #293399
analogous
#995729 #998F29 #6B9929
triadic
#998F29 #29998F #8F2999
tetradic
#998F29 #299957 #293399 #99296B
square
#998F29 #299957 #293399 #99296B
split-complementary
#998F29 #296B99 #572999
monochromatic
#38350F #69621C #998F29 #C9BC36 #D6CC66

Accessibility & contrast

On white

3.33
#998F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#998F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F29
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F29#FFFFFF#000000##000000
##998F291.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A18
Deuteranopia (green-blind)
#9F8F30
Tritanopia (blue-blind)
#A5857B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f29;
/* rgb */ color: rgb(153, 143, 41);
/* oklch */ color: oklch(64.0% 0.120 103.6);
Tailwind
colors: {
  custom: {
    50: '#baaf6a',
    500: '#998f29',
    950: '#000000',
  },
}
SCSS
$custom: #998f29;
$custom-light: #baaf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#998f29",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 54.643,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64012,
    "c": 0.11959,
    "h": 103.6
  },
  "luminance": 0.26577
}

Semantic roles & 50–950 ramp

primary
#998F29
secondary
#626ABC
accent
#55E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998F29

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

Preview Lab → · Contrast checker → · Palette generator →

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