#98952B#98952B

#98952B is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.3% C 0.124 H 107.8°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#98952B
RGBrgb(152, 149, 43)
HSLhsl(58, 56%, 38%)
HSVhsv(58, 72%, 60%)
CMYKcmyk(0%, 2%, 71.7%, 40.4%)
CIE-LABlab(60.20, -11.83, 53.27)
CIE-LCHlch(60.20, 54.57, 102.52°)
OKLaboklab(65.28% -0.0379 0.1183)
OKLCHoklch(65.28% 0.124 107.8)
XYZxyz(24.1333, 28.3455, 6.4850)
Luminance0.2834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98952B #2B2E98
analogous
#985E2B #98952B #64982B
triadic
#98952B #2B9895 #952B98
tetradic
#98952B #2B985E #2B2E98 #982B64
square
#98952B #2B985E #2B2E98 #982B64
split-complementary
#98952B #2B6498 #5E2B98
monochromatic
#393710 #68661E #98952B #C7C339 #D5D269

Accessibility & contrast

On white

3.15
#98952B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#98952B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98952B
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98952B#FFFFFF#000000##000000
##98952B1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F19
Deuteranopia (green-blind)
#A39333
Tritanopia (blue-blind)
#A38B80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #98952b;
/* rgb */ color: rgb(152, 149, 43);
/* oklch */ color: oklch(65.3% 0.124 107.8);
Tailwind
colors: {
  custom: {
    50: '#b9b36c',
    500: '#98952b',
    950: '#000000',
  },
}
SCSS
$custom: #98952b;
$custom-light: #b9b36c;
$custom-dark: #000000;
JSON
{
  "hex": "#98952b",
  "rgb": {
    "r": 152,
    "g": 149,
    "b": 43
  },
  "hsl": {
    "h": 58.349,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65283,
    "c": 0.12421,
    "h": 107.8
  },
  "luminance": 0.28345
}

Semantic roles & 50–950 ramp

primary
#98952B
secondary
#6466BB
accent
#4DDF49
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #98952B

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

Preview Lab → · Contrast checker → · Palette generator →

#98952B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva