#98A11B#98A11B

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

Color values

HEX#98A11B
RGBrgb(152, 161, 27)
HSLhsl(64, 71%, 37%)
HSVhsv(64, 83%, 63%)
CMYKcmyk(5.6%, 0%, 83.2%, 36.9%)
CIE-LABlab(63.54, -18.74, 61.48)
CIE-LCHlch(63.54, 64.27, 106.95°)
OKLaboklab(67.93% -0.0585 0.1328)
OKLCHoklch(67.93% 0.145 113.8)
XYZxyz(25.8924, 32.2448, 5.8966)
Luminance0.3224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A11B #241BA1
analogous
#A1671B #98A11B #55A11B
triadic
#98A11B #1B98A1 #A11B98
tetradic
#98A11B #1BA167 #241BA1 #A11B55
square
#98A11B #1BA167 #241BA1 #A11B55
split-complementary
#98A11B #1B55A1 #671BA1
monochromatic
#353809 #676D12 #98A11B #C9D524 #D9E254

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A11B#FFFFFF#000000##000000
##98A11B1.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)
#AE9900
Deuteranopia (green-blind)
#AD9B29
Tritanopia (blue-blind)
#A39789
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a11b;
/* rgb */ color: rgb(152, 161, 27);
/* oklch */ color: oklch(67.9% 0.145 113.8);
Tailwind
colors: {
  custom: {
    50: '#babc66',
    500: '#98a11b',
    950: '#000000',
  },
}
SCSS
$custom: #98a11b;
$custom-light: #babc66;
$custom-dark: #000000;
JSON
{
  "hex": "#98a11b",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 64.03,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.67932,
    "c": 0.14512,
    "h": 113.8
  },
  "luminance": 0.32244
}

Semantic roles & 50–950 ramp

primary
#98A11B
secondary
#5A52C5
accent
#3AEE46
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121206
muted
#81817A

Preview Lab

Preview with #98A11B

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

Preview Lab → · Contrast checker → · Palette generator →

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