#998F34#998F34

#998F34 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.1% C 0.112 H 103.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#998F34
RGBrgb(153, 143, 52)
HSLhsl(54, 49%, 40%)
HSVhsv(54, 66%, 60%)
CMYKcmyk(0%, 6.5%, 66%, 40%)
CIE-LABlab(58.66, -7.65, 48.03)
CIE-LCHlch(58.66, 48.64, 99.05°)
OKLaboklab(64.1% -0.0252 0.1087)
OKLCHoklch(64.1% 0.112 103)
XYZxyz(23.5801, 26.6661, 7.1531)
Luminance0.2666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F34 #343E99
analogous
#995C34 #998F34 #719934
triadic
#998F34 #34998F #8F3499
tetradic
#998F34 #34995C #343E99 #993471
square
#998F34 #34995C #343E99 #993471
split-complementary
#998F34 #347199 #5C3499
monochromatic
#3E3A15 #6B6424 #998F34 #C1B549 #D1C877

Accessibility & contrast

On white

3.32
#998F34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#998F34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F34
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F34#FFFFFF#000000##000000
##998F341.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A28
Deuteranopia (green-blind)
#9F8F39
Tritanopia (blue-blind)
#A4857C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f34;
/* rgb */ color: rgb(153, 143, 52);
/* oklch */ color: oklch(64.1% 0.112 103.0);
Tailwind
colors: {
  custom: {
    50: '#baaf70',
    500: '#998f34',
    950: '#000000',
  },
}
SCSS
$custom: #998f34;
$custom-light: #baaf70;
$custom-dark: #000000;
JSON
{
  "hex": "#998f34",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 52
  },
  "hsl": {
    "h": 54.059,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64103,
    "c": 0.11162,
    "h": 103
  },
  "luminance": 0.26665
}

Semantic roles & 50–950 ramp

primary
#998F34
secondary
#7077B9
accent
#5DD94F
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #998F34

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

Preview Lab → · Contrast checker → · Palette generator →

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