#998229#998229

#998229 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.1% C 0.109 H 94.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#998229
RGBrgb(153, 130, 41)
HSLhsl(48, 58%, 38%)
HSVhsv(48, 73%, 60%)
CMYKcmyk(0%, 15%, 73.2%, 40%)
CIE-LABlab(54.97, -1.15, 48.95)
CIE-LCHlch(54.97, 48.96, 91.34°)
OKLaboklab(61.15% -0.0079 0.1087)
OKLCHoklch(61.15% 0.109 94.2)
XYZxyz(21.5209, 22.8989, 5.3838)
Luminance0.2290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998229 #294099
analogous
#994A29 #998229 #789929
triadic
#998229 #299982 #822999
tetradic
#998229 #29994A #294099 #992978
square
#998229 #29994A #294099 #992978
split-complementary
#998229 #297899 #4A2999
monochromatic
#38300F #69591C #998229 #C9AB36 #D6BF66

Accessibility & contrast

On white

3.76
#998229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#998229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998229
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998229#FFFFFF#000000##000000
##9982291.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801C
Deuteranopia (green-blind)
#96872E
Tritanopia (blue-blind)
#A67770
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #998229;
/* rgb */ color: rgb(153, 130, 41);
/* oklch */ color: oklch(61.1% 0.109 94.2);
Tailwind
colors: {
  custom: {
    50: '#bba669',
    500: '#998229',
    950: '#000000',
  },
}
SCSS
$custom: #998229;
$custom-light: #bba669;
$custom-dark: #000000;
JSON
{
  "hex": "#998229",
  "rgb": {
    "r": 153,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 47.679,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61146,
    "c": 0.10902,
    "h": 94.2
  },
  "luminance": 0.22898
}

Semantic roles & 50–950 ramp

primary
#998229
secondary
#6274BC
accent
#66E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998229

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

Preview Lab → · Contrast checker → · Palette generator →

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