#998A30#998A30

#998A30 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 63.0% C 0.110 H 99.7°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#998A30
RGBrgb(153, 138, 48)
HSLhsl(51, 52%, 39%)
HSVhsv(51, 69%, 60%)
CMYKcmyk(0%, 9.8%, 68.6%, 40%)
CIE-LABlab(57.23, -5.18, 48.29)
CIE-LCHlch(57.23, 48.56, 96.12°)
OKLaboklab(62.96% -0.0186 0.1086)
OKLCHoklch(62.96% 0.11 99.7)
XYZxyz(22.7599, 25.1637, 6.4540)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998A30 #303F99
analogous
#995630 #998A30 #739930
triadic
#998A30 #30998A #8A3099
tetradic
#998A30 #309956 #303F99 #993073
square
#998A30 #309956 #303F99 #993073
split-complementary
#998A30 #307399 #563099
monochromatic
#3C3613 #6A6021 #998A30 #C4B142 #D2C571

Accessibility & contrast

On white

3.48
#998A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#998A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998A30
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998A30#FFFFFF#000000##000000
##998A301.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978624
Deuteranopia (green-blind)
#9B8C35
Tritanopia (blue-blind)
#A58078
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #998a30;
/* rgb */ color: rgb(153, 138, 48);
/* oklch */ color: oklch(63.0% 0.110 99.7);
Tailwind
colors: {
  custom: {
    50: '#baab6d',
    500: '#998a30',
    950: '#000000',
  },
}
SCSS
$custom: #998a30;
$custom-light: #baab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#998a30",
  "rgb": {
    "r": 153,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 51.429,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62958,
    "c": 0.11019,
    "h": 99.7
  },
  "luminance": 0.25163
}

Semantic roles & 50–950 ramp

primary
#998A30
secondary
#6B76BA
accent
#61DC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998A30

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

Preview Lab → · Contrast checker → · Palette generator →

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