#998239#998239

#998239 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.3% C 0.096 H 91.8°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#998239
RGBrgb(153, 130, 57)
HSLhsl(46, 46%, 41%)
HSVhsv(46, 63%, 60%)
CMYKcmyk(0%, 15%, 62.7%, 40%)
CIE-LABlab(55.11, -0.16, 41.85)
CIE-LCHlch(55.11, 41.86, 90.22°)
OKLaboklab(61.3% -0.0031 0.0964)
OKLCHoklch(61.3% 0.096 91.8)
XYZxyz(21.8590, 23.0341, 7.1648)
Luminance0.2303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998239 #395099
analogous
#995239 #998239 #809939
triadic
#998239 #399982 #823999
tetradic
#998239 #399952 #395099 #993980
square
#998239 #399952 #395099 #993980
split-complementary
#998239 #398099 #523999
monochromatic
#403618 #6C5C28 #998239 #BEA451 #CFBB7E

Accessibility & contrast

On white

3.75
#998239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#998239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998239
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998239#FFFFFF#000000##000000
##9982391.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8031
Deuteranopia (green-blind)
#95873C
Tritanopia (blue-blind)
#A57872
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #998239;
/* rgb */ color: rgb(153, 130, 57);
/* oklch */ color: oklch(61.3% 0.096 91.8);
Tailwind
colors: {
  custom: {
    50: '#baa672',
    500: '#998239',
    950: '#000000',
  },
}
SCSS
$custom: #998239;
$custom-light: #baa672;
$custom-dark: #000000;
JSON
{
  "hex": "#998239",
  "rgb": {
    "r": 153,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 45.625,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.61301,
    "c": 0.09643,
    "h": 91.8
  },
  "luminance": 0.23033
}

Semantic roles & 50–950 ramp

primary
#998239
secondary
#7686B8
accent
#72D552
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #998239

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

Preview Lab → · Contrast checker → · Palette generator →

#998239 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva