#98AA2A#98AA2A

#98AA2A is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.1% C 0.148 H 117.5°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#98AA2A
RGBrgb(152, 170, 42)
HSLhsl(68, 60%, 42%)
HSVhsv(68, 75%, 67%)
CMYKcmyk(10.6%, 0%, 75.3%, 33.3%)
CIE-LABlab(66.21, -22.67, 59.39)
CIE-LCHlch(66.21, 63.58, 110.89°)
OKLaboklab(70.09% -0.0682 0.131)
OKLCHoklch(70.09% 0.148 117.5)
XYZxyz(27.7422, 35.5923, 7.5986)
Luminance0.3559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AA2A #3C2AAA
analogous
#AA7C2A #98AA2A #58AA2A
triadic
#98AA2A #2A98AA #AA2A98
tetradic
#98AA2A #2AAA7C #3C2AAA #AA2A58
square
#98AA2A #2AAA7C #3C2AAA #AA2A58
split-complementary
#98AA2A #2A58AA #7C2AAA
monochromatic
#404812 #6C791E #98AA2A #BCD041 #CDDC72

Accessibility & contrast

On white

2.59
#98AA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#98AA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AA2A
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AA2A#FFFFFF#000000##000000
##98AA2A1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10C
Deuteranopia (green-blind)
#B4A235
Tritanopia (blue-blind)
#A2A092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #98aa2a;
/* rgb */ color: rgb(152, 170, 42);
/* oklch */ color: oklch(70.1% 0.148 117.5);
Tailwind
colors: {
  custom: {
    50: '#bac36e',
    500: '#98aa2a',
    950: '#000000',
  },
}
SCSS
$custom: #98aa2a;
$custom-light: #bac36e;
$custom-dark: #000000;
JSON
{
  "hex": "#98aa2a",
  "rgb": {
    "r": 152,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 68.438,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70093,
    "c": 0.14771,
    "h": 117.5
  },
  "luminance": 0.35592
}

Semantic roles & 50–950 ramp

primary
#98AA2A
secondary
#796CC3
accent
#44E45B
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98AA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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