#98A82E#98A82E

#98A82E is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.7% C 0.143 H 116.8°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#98A82E
RGBrgb(152, 168, 46)
HSLhsl(68, 57%, 42%)
HSVhsv(68, 73%, 66%)
CMYKcmyk(9.5%, 0%, 72.6%, 34.1%)
CIE-LABlab(65.65, -21.48, 57.47)
CIE-LCHlch(65.65, 61.35, 110.49°)
OKLaboklab(69.66% -0.0645 0.1277)
OKLCHoklch(69.66% 0.143 116.8)
XYZxyz(27.4453, 34.8783, 7.8706)
Luminance0.3488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A82E #3E2EA8
analogous
#A87B2E #98A82E #5BA82E
triadic
#98A82E #2E98A8 #A82E98
tetradic
#98A82E #2EA87B #3E2EA8 #A82E5B
square
#98A82E #2EA87B #3E2EA8 #A82E5B
split-complementary
#98A82E #2E5BA8 #7B2EA8
monochromatic
#414814 #6D7821 #98A82E #BBCD47 #CDDA77

Accessibility & contrast

On white

2.63
#98A82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#98A82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A82E
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A82E#FFFFFF#000000##000000
##98A82E1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F17
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#A29E90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a82e;
/* rgb */ color: rgb(152, 168, 46);
/* oklch */ color: oklch(69.7% 0.143 116.8);
Tailwind
colors: {
  custom: {
    50: '#bac16f',
    500: '#98a82e',
    950: '#000000',
  },
}
SCSS
$custom: #98a82e;
$custom-light: #bac16f;
$custom-dark: #000000;
JSON
{
  "hex": "#98a82e",
  "rgb": {
    "r": 152,
    "g": 168,
    "b": 46
  },
  "hsl": {
    "h": 67.869,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69656,
    "c": 0.14303,
    "h": 116.8
  },
  "luminance": 0.34878
}

Semantic roles & 50–950 ramp

primary
#98A82E
secondary
#7B70C2
accent
#48E05C
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A82E

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

Preview Lab → · Contrast checker → · Palette generator →

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