#98A22B#98A22B

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

Color values

HEX#98A22B
RGBrgb(152, 162, 43)
HSLhsl(65, 58%, 40%)
HSVhsv(65, 73%, 64%)
CMYKcmyk(6.2%, 0%, 73.5%, 36.5%)
CIE-LABlab(63.91, -18.60, 56.86)
CIE-LCHlch(63.91, 59.83, 108.11°)
OKLaboklab(68.25% -0.0568 0.1259)
OKLCHoklch(68.25% 0.138 114.3)
XYZxyz(26.3060, 32.6910, 7.2093)
Luminance0.3269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A22B #352BA2
analogous
#A2702B #98A22B #5CA22B
triadic
#98A22B #2B98A2 #A22B98
tetradic
#98A22B #2BA270 #352BA2 #A22B5C
square
#98A22B #2BA270 #352BA2 #A22B5C
split-complementary
#98A22B #2B5CA2 #702BA2
monochromatic
#3D4111 #6B721E #98A22B #C0CC3E #D0D96F

Accessibility & contrast

On white

2.79
#98A22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A22B#FFFFFF#000000##000000
##98A22B1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98a22b;
/* rgb */ color: rgb(152, 162, 43);
/* oklch */ color: oklch(68.3% 0.138 114.3);
Tailwind
colors: {
  custom: {
    50: '#babd6d',
    500: '#98a22b',
    950: '#000000',
  },
}
SCSS
$custom: #98a22b;
$custom-light: #babd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#98a22b",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 65.042,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6825,
    "c": 0.13808,
    "h": 114.3
  },
  "luminance": 0.3269
}

Semantic roles & 50–950 ramp

primary
#98A22B
secondary
#7069C0
accent
#47E154
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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