#98A32D#98A32D

#98A32D is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.5% C 0.138 H 114.7°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#98A32D
RGBrgb(152, 163, 45)
HSLhsl(66, 57%, 41%)
HSVhsv(66, 72%, 64%)
CMYKcmyk(6.7%, 0%, 72.4%, 36.1%)
CIE-LABlab(64.21, -19.00, 56.43)
CIE-LCHlch(64.21, 59.54, 108.61°)
OKLaboklab(68.49% -0.0577 0.1253)
OKLCHoklch(68.49% 0.138 114.7)
XYZxyz(26.5205, 33.0597, 7.4662)
Luminance0.3306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A32D #382DA3
analogous
#A3732D #98A32D #5DA32D
triadic
#98A32D #2D98A3 #A32D98
tetradic
#98A32D #2DA373 #382DA3 #A32D5D
square
#98A32D #2DA373 #382DA3 #A32D5D
split-complementary
#98A32D #2D5DA3 #732DA3
monochromatic
#3F4313 #6B7320 #98A32D #BECB42 #CFD872

Accessibility & contrast

On white

2.76
#98A32D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#98A32D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A32D
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A32D#FFFFFF#000000##000000
##98A32D1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B17
Deuteranopia (green-blind)
#AE9D36
Tritanopia (blue-blind)
#A2998C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a32d;
/* rgb */ color: rgb(152, 163, 45);
/* oklch */ color: oklch(68.5% 0.138 114.7);
Tailwind
colors: {
  custom: {
    50: '#b9be6e',
    500: '#98a32d',
    950: '#000000',
  },
}
SCSS
$custom: #98a32d;
$custom-light: #b9be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#98a32d",
  "rgb": {
    "r": 152,
    "g": 163,
    "b": 45
  },
  "hsl": {
    "h": 65.593,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68494,
    "c": 0.13797,
    "h": 114.7
  },
  "luminance": 0.33059
}

Semantic roles & 50–950 ramp

primary
#98A32D
secondary
#746CC0
accent
#48E056
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98A32D

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

Preview Lab → · Contrast checker → · Palette generator →

#98A32D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva