#98902F#98902F

#98902F is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.2% C 0.116 H 104.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#98902F
RGBrgb(152, 144, 47)
HSLhsl(55, 53%, 39%)
HSVhsv(55, 69%, 60%)
CMYKcmyk(0%, 5.3%, 69.1%, 40.4%)
CIE-LABlab(58.81, -8.94, 50.30)
CIE-LCHlch(58.81, 51.09, 100.08°)
OKLaboklab(64.19% -0.0293 0.1127)
OKLCHoklch(64.19% 0.116 104.6)
XYZxyz(23.4362, 26.8280, 6.6326)
Luminance0.2683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98902F #2F3798
analogous
#985C2F #98902F #6C982F
triadic
#98902F #2F9890 #902F98
tetradic
#98902F #2F985C #2F3798 #982F6C
square
#98902F #2F985C #2F3798 #982F6C
split-complementary
#98902F #2F6C98 #5C2F98
monochromatic
#3B3712 #696421 #98902F #C4BA40 #D2CB6F

Accessibility & contrast

On white

3.30
#98902F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#98902F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98902F
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98902F#FFFFFF#000000##000000
##98902F1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B21
Deuteranopia (green-blind)
#9F9035
Tritanopia (blue-blind)
#A3867C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #98902f;
/* rgb */ color: rgb(152, 144, 47);
/* oklch */ color: oklch(64.2% 0.116 104.6);
Tailwind
colors: {
  custom: {
    50: '#b9b06d',
    500: '#98902f',
    950: '#000000',
  },
}
SCSS
$custom: #98902f;
$custom-light: #b9b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#98902f",
  "rgb": {
    "r": 152,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 55.429,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64189,
    "c": 0.11648,
    "h": 104.6
  },
  "luminance": 0.26827
}

Semantic roles & 50–950 ramp

primary
#98902F
secondary
#696FBA
accent
#57DC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #98902F

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

Preview Lab → · Contrast checker → · Palette generator →

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