#998D30#998D30

#998D30 is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.6% C 0.113 H 101.9°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#998D30
RGBrgb(153, 141, 48)
HSLhsl(53, 52%, 39%)
HSVhsv(53, 69%, 60%)
CMYKcmyk(0%, 7.8%, 68.6%, 40%)
CIE-LABlab(58.07, -6.81, 49.15)
CIE-LCHlch(58.07, 49.62, 97.89°)
OKLaboklab(63.62% -0.0232 0.1104)
OKLCHoklch(63.62% 0.113 101.9)
XYZxyz(23.1962, 26.0364, 6.5994)
Luminance0.2604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D30 #303C99
analogous
#995930 #998D30 #719930
triadic
#998D30 #30998D #8D3099
tetradic
#998D30 #309959 #303C99 #993071
square
#998D30 #309959 #303C99 #993071
split-complementary
#998D30 #307199 #593099
monochromatic
#3C3713 #6A6221 #998D30 #C4B542 #D2C771

Accessibility & contrast

On white

3.38
#998D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#998D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D30
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D30#FFFFFF#000000##000000
##998D301.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8923
Deuteranopia (green-blind)
#9D8E36
Tritanopia (blue-blind)
#A5837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998d30;
/* rgb */ color: rgb(153, 141, 48);
/* oklch */ color: oklch(63.6% 0.113 101.9);
Tailwind
colors: {
  custom: {
    50: '#baae6e',
    500: '#998d30',
    950: '#000000',
  },
}
SCSS
$custom: #998d30;
$custom-light: #baae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#998d30",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 53.143,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63622,
    "c": 0.11285,
    "h": 101.9
  },
  "luminance": 0.26035
}

Semantic roles & 50–950 ramp

primary
#998D30
secondary
#6B74BA
accent
#5DDC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998D30

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

Preview Lab → · Contrast checker → · Palette generator →

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