#998B30#998B30

#998B30 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.2% C 0.111 H 100.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#998B30
RGBrgb(153, 139, 48)
HSLhsl(52, 52%, 39%)
HSVhsv(52, 69%, 60%)
CMYKcmyk(0%, 9.2%, 68.6%, 40%)
CIE-LABlab(57.51, -5.72, 48.57)
CIE-LCHlch(57.51, 48.91, 96.72°)
OKLaboklab(63.18% -0.0201 0.1092)
OKLCHoklch(63.18% 0.111 100.5)
XYZxyz(22.9040, 25.4520, 6.5020)
Luminance0.2545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B30 #303E99
analogous
#995730 #998B30 #739930
triadic
#998B30 #30998B #8B3099
tetradic
#998B30 #309957 #303E99 #993073
square
#998B30 #309957 #303E99 #993073
split-complementary
#998B30 #307399 #573099
monochromatic
#3C3613 #6A6121 #998B30 #C4B342 #D2C571

Accessibility & contrast

On white

3.45
#998B30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#998B30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998B30
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998B30#FFFFFF#000000##000000
##998B301.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988724
Deuteranopia (green-blind)
#9C8C35
Tritanopia (blue-blind)
#A58178
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #998b30;
/* rgb */ color: rgb(153, 139, 48);
/* oklch */ color: oklch(63.2% 0.111 100.5);
Tailwind
colors: {
  custom: {
    50: '#baac6d',
    500: '#998b30',
    950: '#000000',
  },
}
SCSS
$custom: #998b30;
$custom-light: #baac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#998b30",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 48
  },
  "hsl": {
    "h": 52,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63179,
    "c": 0.11106,
    "h": 100.5
  },
  "luminance": 0.25451
}

Semantic roles & 50–950 ramp

primary
#998B30
secondary
#6B75BA
accent
#5FDC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998B30

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

Preview Lab → · Contrast checker → · Palette generator →

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