#98A22D#98A22D

#98A22D is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.3% C 0.137 H 114.3°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#98A22D
RGBrgb(152, 162, 45)
HSLhsl(65, 57%, 41%)
HSVhsv(65, 72%, 64%)
CMYKcmyk(6.2%, 0%, 72.2%, 36.5%)
CIE-LABlab(63.92, -18.49, 56.15)
CIE-LCHlch(63.92, 59.12, 108.23°)
OKLaboklab(68.26% -0.0563 0.1247)
OKLCHoklch(68.26% 0.137 114.3)
XYZxyz(26.3436, 32.7060, 7.4073)
Luminance0.3271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A22D #372DA2
analogous
#A2712D #98A22D #5DA22D
triadic
#98A22D #2D98A2 #A22D98
tetradic
#98A22D #2DA271 #372DA2 #A22D5D
square
#98A22D #2DA271 #372DA2 #A22D5D
split-complementary
#98A22D #2D5DA2 #712DA2
monochromatic
#3E4212 #6B7220 #98A22D #BFCA42 #CFD872

Accessibility & contrast

On white

2.78
#98A22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#98A22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A22D
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A22D#FFFFFF#000000##000000
##98A22D1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A18
Deuteranopia (green-blind)
#AD9C36
Tritanopia (blue-blind)
#A2988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #98a22d;
/* rgb */ color: rgb(152, 162, 45);
/* oklch */ color: oklch(68.3% 0.137 114.3);
Tailwind
colors: {
  custom: {
    50: '#b9bd6e',
    500: '#98a22d',
    950: '#000000',
  },
}
SCSS
$custom: #98a22d;
$custom-light: #b9bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#98a22d",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 65.128,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68264,
    "c": 0.13684,
    "h": 114.3
  },
  "luminance": 0.32706
}

Semantic roles & 50–950 ramp

primary
#98A22D
secondary
#736CBF
accent
#48E055
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98A22D

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

Preview Lab → · Contrast checker → · Palette generator →

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