#98952D#98952D

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

Color values

HEX#98952D
RGBrgb(152, 149, 45)
HSLhsl(58, 54%, 39%)
HSVhsv(58, 70%, 60%)
CMYKcmyk(0%, 2%, 70.4%, 40.4%)
CIE-LABlab(60.21, -11.73, 52.51)
CIE-LCHlch(60.21, 53.80, 102.59°)
OKLaboklab(65.3% -0.0374 0.117)
OKLCHoklch(65.3% 0.123 107.7)
XYZxyz(24.1709, 28.3605, 6.6830)
Luminance0.2836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98952D #2D3098
analogous
#985F2D #98952D #65982D
triadic
#98952D #2D9895 #952D98
tetradic
#98952D #2D985F #2D3098 #982D65
square
#98952D #2D985F #2D3098 #982D65
split-complementary
#98952D #2D6598 #5F2D98
monochromatic
#3A3811 #69671F #98952D #C5C23D #D3D16C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98952D#FFFFFF#000000##000000
##98952D1.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)
#A18F1C
Deuteranopia (green-blind)
#A39334
Tritanopia (blue-blind)
#A38B80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #98952d;
/* rgb */ color: rgb(152, 149, 45);
/* oklch */ color: oklch(65.3% 0.123 107.7);
Tailwind
colors: {
  custom: {
    50: '#b9b36d',
    500: '#98952d',
    950: '#000000',
  },
}
SCSS
$custom: #98952d;
$custom-light: #b9b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#98952d",
  "rgb": {
    "r": 152,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 58.318,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65298,
    "c": 0.12286,
    "h": 107.7
  },
  "luminance": 0.2836
}

Semantic roles & 50–950 ramp

primary
#98952D
secondary
#6669BA
accent
#4EDE4A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #98952D

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

Preview Lab → · Contrast checker → · Palette generator →

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