#98A42E#98A42E

#98A42E is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.7% C 0.138 H 115.2°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#98A42E
RGBrgb(152, 164, 46)
HSLhsl(66, 56%, 41%)
HSVhsv(66, 72%, 64%)
CMYKcmyk(7.3%, 0%, 72%, 35.7%)
CIE-LABlab(64.50, -19.46, 56.35)
CIE-LCHlch(64.50, 59.61, 109.05°)
OKLaboklab(68.73% -0.0589 0.1253)
OKLCHoklch(68.73% 0.138 115.2)
XYZxyz(26.7182, 33.4240, 7.6282)
Luminance0.3342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A42E #3A2EA4
analogous
#A4752E #98A42E #5DA42E
triadic
#98A42E #2E98A4 #A42E98
tetradic
#98A42E #2EA475 #3A2EA4 #A42E5D
square
#98A42E #2EA475 #3A2EA4 #A42E5D
split-complementary
#98A42E #2E5DA4 #752EA4
monochromatic
#3F4413 #6C7421 #98A42E #BDCB45 #CED874

Accessibility & contrast

On white

2.73
#98A42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#98A42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A42E
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A42E#FFFFFF#000000##000000
##98A42E1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C19
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#A29A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a42e;
/* rgb */ color: rgb(152, 164, 46);
/* oklch */ color: oklch(68.7% 0.138 115.2);
Tailwind
colors: {
  custom: {
    50: '#b9be6f',
    500: '#98a42e',
    950: '#000000',
  },
}
SCSS
$custom: #98a42e;
$custom-light: #b9be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#98a42e",
  "rgb": {
    "r": 152,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 66.102,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68732,
    "c": 0.13846,
    "h": 115.2
  },
  "luminance": 0.33424
}

Semantic roles & 50–950 ramp

primary
#98A42E
secondary
#766EC0
accent
#48DF58
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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