#998233#998233

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

Color values

HEX#998233
RGBrgb(153, 130, 51)
HSLhsl(46, 50%, 40%)
HSVhsv(46, 67%, 60%)
CMYKcmyk(0%, 15%, 66.7%, 40%)
CIE-LABlab(55.05, -0.57, 44.65)
CIE-LCHlch(55.05, 44.65, 90.73°)
OKLaboklab(61.24% -0.005 0.1014)
OKLCHoklch(61.24% 0.102 92.8)
XYZxyz(21.7181, 22.9778, 6.4225)
Luminance0.2298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998233 #334A99
analogous
#994F33 #998233 #7D9933
triadic
#998233 #339982 #823399
tetradic
#998233 #33994F #334A99 #99337D
square
#998233 #33994F #334A99 #99337D
split-complementary
#998233 #337D99 #4F3399
monochromatic
#3D3414 #6B5B24 #998233 #C2A647 #D1BC75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998233#FFFFFF#000000##000000
##9982331.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)
#8F802A
Deuteranopia (green-blind)
#958737
Tritanopia (blue-blind)
#A57871
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #998233;
/* rgb */ color: rgb(153, 130, 51);
/* oklch */ color: oklch(61.2% 0.102 92.8);
Tailwind
colors: {
  custom: {
    50: '#baa66e',
    500: '#998233',
    950: '#000000',
  },
}
SCSS
$custom: #998233;
$custom-light: #baa66e;
$custom-dark: #000000;
JSON
{
  "hex": "#998233",
  "rgb": {
    "r": 153,
    "g": 130,
    "b": 51
  },
  "hsl": {
    "h": 46.471,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.61236,
    "c": 0.10153,
    "h": 92.8
  },
  "luminance": 0.22977
}

Semantic roles & 50–950 ramp

primary
#998233
secondary
#6E7FB9
accent
#6EDA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #998233

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

Preview Lab → · Contrast checker → · Palette generator →

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