#98A02A#98A02A

#98A02A is a light, vivid yellow. Relative luminance 0.320; OKLCH L 67.8% C 0.136 H 113.4°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#98A02A
RGBrgb(152, 160, 42)
HSLhsl(64, 58%, 40%)
HSVhsv(64, 74%, 63%)
CMYKcmyk(5%, 0%, 73.8%, 37.3%)
CIE-LABlab(63.33, -17.62, 56.67)
CIE-LCHlch(63.33, 59.34, 107.27°)
OKLaboklab(67.78% -0.0542 0.1253)
OKLCHoklch(67.78% 0.136 113.4)
XYZxyz(25.9384, 31.9847, 6.9973)
Luminance0.3198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A02A #322AA0
analogous
#A06D2A #98A02A #5DA02A
triadic
#98A02A #2A98A0 #A02A98
tetradic
#98A02A #2AA06D #322AA0 #A02A5D
square
#98A02A #2AA06D #322AA0 #A02A5D
split-complementary
#98A02A #2A5DA0 #6D2AA0
monochromatic
#3C3F11 #6A701D #98A02A #C2CC3C #D1D86C

Accessibility & contrast

On white

2.84
#98A02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#98A02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A02A
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A02A#FFFFFF#000000##000000
##98A02A1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9812
Deuteranopia (green-blind)
#AC9A34
Tritanopia (blue-blind)
#A29689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #98a02a;
/* rgb */ color: rgb(152, 160, 42);
/* oklch */ color: oklch(67.8% 0.136 113.4);
Tailwind
colors: {
  custom: {
    50: '#babb6c',
    500: '#98a02a',
    950: '#000000',
  },
}
SCSS
$custom: #98a02a;
$custom-light: #babb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a02a",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 64.068,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67784,
    "c": 0.13648,
    "h": 113.4
  },
  "luminance": 0.31984
}

Semantic roles & 50–950 ramp

primary
#98A02A
secondary
#6D67BF
accent
#46E251
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #98A02A

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

Preview Lab → · Contrast checker → · Palette generator →

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