#98902B#98902B

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

Color values

HEX#98902B
RGBrgb(152, 144, 43)
HSLhsl(56, 56%, 38%)
HSVhsv(56, 72%, 60%)
CMYKcmyk(0%, 5.3%, 71.7%, 40.4%)
CIE-LABlab(58.79, -9.16, 51.89)
CIE-LCHlch(58.79, 52.69, 100.01°)
OKLaboklab(64.16% -0.0304 0.1154)
OKLCHoklch(64.16% 0.119 104.8)
XYZxyz(23.3592, 26.7972, 6.2270)
Luminance0.2680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98902B #2B3398
analogous
#98592B #98902B #69982B
triadic
#98902B #2B9890 #902B98
tetradic
#98902B #2B9859 #2B3398 #982B69
square
#98902B #2B9859 #2B3398 #982B69
split-complementary
#98902B #2B6998 #592B98
monochromatic
#393610 #68631E #98902B #C7BD39 #D5CD69

Accessibility & contrast

On white

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

On black

6.36
#98902B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98902B
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98902B#FFFFFF#000000##000000
##98902B1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98902b;
/* rgb */ color: rgb(152, 144, 43);
/* oklch */ color: oklch(64.2% 0.119 104.8);
Tailwind
colors: {
  custom: {
    50: '#bab06b',
    500: '#98902b',
    950: '#000000',
  },
}
SCSS
$custom: #98902b;
$custom-light: #bab06b;
$custom-dark: #000000;
JSON
{
  "hex": "#98902b",
  "rgb": {
    "r": 152,
    "g": 144,
    "b": 43
  },
  "hsl": {
    "h": 55.596,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64157,
    "c": 0.11929,
    "h": 104.8
  },
  "luminance": 0.26796
}

Semantic roles & 50–950 ramp

primary
#98902B
secondary
#646ABB
accent
#54DF49
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #98902B

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

Preview Lab → · Contrast checker → · Palette generator →

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