#98A32F#98A32F

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

Color values

HEX#98A32F
RGBrgb(152, 163, 47)
HSLhsl(66, 55%, 41%)
HSVhsv(66, 71%, 64%)
CMYKcmyk(6.7%, 0%, 71.2%, 36.1%)
CIE-LABlab(64.22, -18.90, 55.70)
CIE-LCHlch(64.22, 58.82, 108.74°)
OKLaboklab(68.51% -0.0573 0.1241)
OKLCHoklch(68.51% 0.137 114.8)
XYZxyz(26.5599, 33.0755, 7.6738)
Luminance0.3307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A32F #3A2FA3
analogous
#A3742F #98A32F #5EA32F
triadic
#98A32F #2F98A3 #A32F98
tetradic
#98A32F #2FA374 #3A2FA3 #A32F5E
square
#98A32F #2FA374 #3A2FA3 #A32F5E
split-complementary
#98A32F #2F5EA3 #742FA3
monochromatic
#3F4414 #6C7321 #98A32F #BDCA46 #CED775

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A32F#FFFFFF#000000##000000
##98A32F1.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)
#AF9B1B
Deuteranopia (green-blind)
#AE9D38
Tritanopia (blue-blind)
#A2998C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a32f;
/* rgb */ color: rgb(152, 163, 47);
/* oklch */ color: oklch(68.5% 0.137 114.8);
Tailwind
colors: {
  custom: {
    50: '#b9be6f',
    500: '#98a32f',
    950: '#000000',
  },
}
SCSS
$custom: #98a32f;
$custom-light: #b9be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#98a32f",
  "rgb": {
    "r": 152,
    "g": 163,
    "b": 47
  },
  "hsl": {
    "h": 65.69,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68508,
    "c": 0.13668,
    "h": 114.8
  },
  "luminance": 0.33075
}

Semantic roles & 50–950 ramp

primary
#98A32F
secondary
#766FBF
accent
#49DF57
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A32F

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

Preview Lab → · Contrast checker → · Palette generator →

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