#998E30#998E30

#998E30 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.8% C 0.114 H 102.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#998E30
RGBrgb(153, 142, 48)
HSLhsl(54, 52%, 39%)
HSVhsv(54, 69%, 60%)
CMYKcmyk(0%, 7.2%, 68.6%, 40%)
CIE-LABlab(58.35, -7.36, 49.43)
CIE-LCHlch(58.35, 49.98, 98.46°)
OKLaboklab(63.84% -0.0248 0.111)
OKLCHoklch(63.84% 0.114 102.6)
XYZxyz(23.3443, 26.3327, 6.6488)
Luminance0.2633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998E30 #303B99
analogous
#995930 #998E30 #709930
triadic
#998E30 #30998E #8E3099
tetradic
#998E30 #309959 #303B99 #993070
square
#998E30 #309959 #303B99 #993070
split-complementary
#998E30 #307099 #593099
monochromatic
#3C3813 #6A6321 #998E30 #C4B642 #D2C871

Accessibility & contrast

On white

3.35
#998E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#998E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998E30
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998E30#FFFFFF#000000##000000
##998E301.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8923
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#A5847B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998e30;
/* rgb */ color: rgb(153, 142, 48);
/* oklch */ color: oklch(63.8% 0.114 102.6);
Tailwind
colors: {
  custom: {
    50: '#baae6e',
    500: '#998e30',
    950: '#000000',
  },
}
SCSS
$custom: #998e30;
$custom-light: #baae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#998e30",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 53.714,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63844,
    "c": 0.11377,
    "h": 102.6
  },
  "luminance": 0.26332
}

Semantic roles & 50–950 ramp

primary
#998E30
secondary
#6B73BA
accent
#5BDC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998E30

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

Preview Lab → · Contrast checker → · Palette generator →

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