#998F58#998F58

#998F58 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.6% C 0.075 H 99.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#998F58
RGBrgb(153, 143, 88)
HSLhsl(51, 27%, 47%)
HSVhsv(51, 42%, 60%)
CMYKcmyk(0%, 6.5%, 42.5%, 40%)
CIE-LABlab(59.09, -4.49, 30.57)
CIE-LCHlch(59.09, 30.90, 98.35°)
OKLaboklab(64.58% -0.0121 0.0745)
OKLCHoklch(64.58% 0.075 99.2)
XYZxyz(24.7213, 27.1226, 13.1636)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F58 #586299
analogous
#996E58 #998F58 #839958
triadic
#998F58 #58998F #8F5899
tetradic
#998F58 #58996E #586299 #995883
square
#998F58 #58996E #586299 #995883
split-complementary
#998F58 #588399 #6E5899
monochromatic
#4B462B #726B42 #998F58 #B3AB7B #C9C3A2

Accessibility & contrast

On white

3.27
#998F58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#998F58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F58
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F58#FFFFFF#000000##000000
##998F581.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998C54
Deuteranopia (green-blind)
#9C905A
Tritanopia (blue-blind)
#A28881
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f58;
/* rgb */ color: rgb(153, 143, 88);
/* oklch */ color: oklch(64.6% 0.075 99.2);
Tailwind
colors: {
  custom: {
    50: '#b8af88',
    500: '#998f58',
    950: '#000000',
  },
}
SCSS
$custom: #998f58;
$custom-light: #b8af88;
$custom-dark: #000000;
JSON
{
  "hex": "#998f58",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 88
  },
  "hsl": {
    "h": 50.769,
    "s": 26.971,
    "l": 47.255
  },
  "oklch": {
    "l": 0.64576,
    "c": 0.07543,
    "h": 99.2
  },
  "luminance": 0.27122
}

Semantic roles & 50–950 ramp

primary
#998F58
secondary
#969BB7
accent
#73C364
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100B
muted
#807F7C

Preview Lab

Preview with #998F58

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

Preview Lab → · Contrast checker → · Palette generator →

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