#98952F#98952F

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

Color values

HEX#98952F
RGBrgb(152, 149, 47)
HSLhsl(58, 53%, 39%)
HSVhsv(58, 69%, 60%)
CMYKcmyk(0%, 2%, 69.1%, 40.4%)
CIE-LABlab(60.23, -11.62, 51.73)
CIE-LCHlch(60.23, 53.01, 102.66°)
OKLaboklab(65.31% -0.0369 0.1157)
OKLCHoklch(65.31% 0.121 107.7)
XYZxyz(24.2103, 28.3763, 6.8906)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98952F #2F3298
analogous
#98612F #98952F #67982F
triadic
#98952F #2F9895 #952F98
tetradic
#98952F #2F9861 #2F3298 #982F67
square
#98952F #2F9861 #2F3298 #982F67
split-complementary
#98952F #2F6798 #612F98
monochromatic
#3B3912 #696721 #98952F #C4C040 #D2D06F

Accessibility & contrast

On white

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

On black

6.68
#98952F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98952F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98952F#FFFFFF#000000##000000
##98952F1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F20
Deuteranopia (green-blind)
#A39336
Tritanopia (blue-blind)
#A38B81
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #98952f;
/* rgb */ color: rgb(152, 149, 47);
/* oklch */ color: oklch(65.3% 0.121 107.7);
Tailwind
colors: {
  custom: {
    50: '#b9b36e',
    500: '#98952f',
    950: '#000000',
  },
}
SCSS
$custom: #98952f;
$custom-light: #b9b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#98952f",
  "rgb": {
    "r": 152,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 58.286,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65314,
    "c": 0.12146,
    "h": 107.7
  },
  "luminance": 0.28376
}

Semantic roles & 50–950 ramp

primary
#98952F
secondary
#696BBA
accent
#50DC4C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #98952F

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

Preview Lab → · Contrast checker → · Palette generator →

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