#998236#998236

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

Color values

HEX#998236
RGBrgb(153, 130, 54)
HSLhsl(46, 48%, 41%)
HSVhsv(46, 65%, 60%)
CMYKcmyk(0%, 15%, 64.7%, 40%)
CIE-LABlab(55.08, -0.37, 43.27)
CIE-LCHlch(55.08, 43.27, 90.49°)
OKLaboklab(61.27% -0.0041 0.099)
OKLCHoklch(61.27% 0.099 92.4)
XYZxyz(21.7864, 23.0051, 6.7822)
Luminance0.2300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998236 #364D99
analogous
#995136 #998236 #7E9936
triadic
#998236 #369982 #823699
tetradic
#998236 #369951 #364D99 #99367E
square
#998236 #369951 #364D99 #99367E
split-complementary
#998236 #367E99 #513699
monochromatic
#3F3516 #6C5C26 #998236 #C0A54C #D0BC7A

Accessibility & contrast

On white

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

On black

5.60
#998236 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998236
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998236#FFFFFF#000000##000000
##9982361.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802E
Deuteranopia (green-blind)
#958739
Tritanopia (blue-blind)
#A57872
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #998236;
/* rgb */ color: rgb(153, 130, 54);
/* oklch */ color: oklch(61.3% 0.099 92.4);
Tailwind
colors: {
  custom: {
    50: '#baa670',
    500: '#998236',
    950: '#000000',
  },
}
SCSS
$custom: #998236;
$custom-light: #baa670;
$custom-dark: #000000;
JSON
{
  "hex": "#998236",
  "rgb": {
    "r": 153,
    "g": 130,
    "b": 54
  },
  "hsl": {
    "h": 46.061,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.61268,
    "c": 0.09903,
    "h": 92.4
  },
  "luminance": 0.23004
}

Semantic roles & 50–950 ramp

primary
#998236
secondary
#7282B9
accent
#70D750
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #998236

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

Preview Lab → · Contrast checker → · Palette generator →

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