#98A11E#98A11E

#98A11E is a light, vivid yellow. Relative luminance 0.323; OKLCH L 67.9% C 0.144 H 113.8°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#98A11E
RGBrgb(152, 161, 30)
HSLhsl(64, 69%, 37%)
HSVhsv(64, 81%, 63%)
CMYKcmyk(5.6%, 0%, 81.4%, 36.9%)
CIE-LABlab(63.56, -18.64, 60.69)
CIE-LCHlch(63.56, 63.48, 107.07°)
OKLaboklab(67.95% -0.058 0.1316)
OKLCHoklch(67.95% 0.144 113.8)
XYZxyz(25.9289, 32.2594, 6.0889)
Luminance0.3226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A11E #271EA1
analogous
#A1681E #98A11E #57A11E
triadic
#98A11E #1E98A1 #A11E98
tetradic
#98A11E #1EA168 #271EA1 #A11E57
square
#98A11E #1EA168 #271EA1 #A11E57
split-complementary
#98A11E #1E57A1 #681EA1
monochromatic
#373A0B #676D14 #98A11E #C9D528 #D7E059

Accessibility & contrast

On white

2.82
#98A11E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#98A11E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A11E
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A11E#FFFFFF#000000##000000
##98A11E1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#AD9B2B
Tritanopia (blue-blind)
#A39789
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a11e;
/* rgb */ color: rgb(152, 161, 30);
/* oklch */ color: oklch(67.9% 0.144 113.8);
Tailwind
colors: {
  custom: {
    50: '#babc67',
    500: '#98a11e',
    950: '#000000',
  },
}
SCSS
$custom: #98a11e;
$custom-light: #babc67;
$custom-dark: #000000;
JSON
{
  "hex": "#98a11e",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 30
  },
  "hsl": {
    "h": 64.122,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.67946,
    "c": 0.14384,
    "h": 113.8
  },
  "luminance": 0.32259
}

Semantic roles & 50–950 ramp

primary
#98A11E
secondary
#5E57C4
accent
#3CEB48
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98A11E

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

Preview Lab → · Contrast checker → · Palette generator →

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