#98A52D#98A52D

#98A52D is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.0% C 0.140 H 115.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#98A52D
RGBrgb(152, 165, 45)
HSLhsl(67, 57%, 41%)
HSVhsv(67, 73%, 65%)
CMYKcmyk(7.9%, 0%, 72.7%, 35.3%)
CIE-LABlab(64.78, -20.02, 56.99)
CIE-LCHlch(64.78, 60.40, 109.35°)
OKLaboklab(68.96% -0.0606 0.1265)
OKLCHoklch(68.96% 0.14 115.6)
XYZxyz(26.8784, 33.7756, 7.5855)
Luminance0.3377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A52D #3A2DA5
analogous
#A5762D #98A52D #5CA52D
triadic
#98A52D #2D98A5 #A52D98
tetradic
#98A52D #2DA576 #3A2DA5 #A52D5C
square
#98A52D #2DA576 #3A2DA5 #A52D5C
split-complementary
#98A52D #2D5CA5 #762DA5
monochromatic
#3F4513 #6C7520 #98A52D #BDCC43 #CED973

Accessibility & contrast

On white

2.71
#98A52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#98A52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A52D
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A52D#FFFFFF#000000##000000
##98A52D1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C16
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#A29B8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #98a52d;
/* rgb */ color: rgb(152, 165, 45);
/* oklch */ color: oklch(69.0% 0.140 115.6);
Tailwind
colors: {
  custom: {
    50: '#babf6f',
    500: '#98a52d',
    950: '#000000',
  },
}
SCSS
$custom: #98a52d;
$custom-light: #babf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#98a52d",
  "rgb": {
    "r": 152,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 66.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68955,
    "c": 0.14022,
    "h": 115.6
  },
  "luminance": 0.33775
}

Semantic roles & 50–950 ramp

primary
#98A52D
secondary
#766DC1
accent
#47E058
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98A52D

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

Preview Lab → · Contrast checker → · Palette generator →

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