#98A229#98A229

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

Color values

HEX#98A229
RGBrgb(152, 162, 41)
HSLhsl(65, 60%, 40%)
HSVhsv(65, 75%, 64%)
CMYKcmyk(6.2%, 0%, 74.7%, 36.5%)
CIE-LABlab(63.90, -18.69, 57.56)
CIE-LCHlch(63.90, 60.52, 107.99°)
OKLaboklab(68.24% -0.0572 0.127)
OKLCHoklch(68.24% 0.139 114.3)
XYZxyz(26.2702, 32.6767, 7.0207)
Luminance0.3268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A229 #3329A2
analogous
#A27029 #98A229 #5BA229
triadic
#98A229 #2998A2 #A22998
tetradic
#98A229 #29A270 #3329A2 #A2295B
square
#98A229 #29A270 #3329A2 #A2295B
split-complementary
#98A229 #295BA2 #7029A2
monochromatic
#3C4010 #6A711D #98A229 #C1CD3B #D1DA6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A229#FFFFFF#000000##000000
##98A2291.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)
#AE9A0F
Deuteranopia (green-blind)
#AE9C33
Tritanopia (blue-blind)
#A2988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #98a229;
/* rgb */ color: rgb(152, 162, 41);
/* oklch */ color: oklch(68.2% 0.139 114.3);
Tailwind
colors: {
  custom: {
    50: '#babd6c',
    500: '#98a229',
    950: '#000000',
  },
}
SCSS
$custom: #98a229;
$custom-light: #babd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a229",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 64.959,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68237,
    "c": 0.13928,
    "h": 114.3
  },
  "luminance": 0.32676
}

Semantic roles & 50–950 ramp

primary
#98A229
secondary
#6E67C0
accent
#45E352
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A229

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

Preview Lab → · Contrast checker → · Palette generator →

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