#98A01B#98A01B

#98A01B is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.7% C 0.144 H 113.3°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#98A01B
RGBrgb(152, 160, 27)
HSLhsl(64, 71%, 37%)
HSVhsv(64, 83%, 63%)
CMYKcmyk(5%, 0%, 83.1%, 37.3%)
CIE-LABlab(63.26, -18.23, 61.23)
CIE-LCHlch(63.26, 63.89, 106.58°)
OKLaboklab(67.7% -0.0571 0.1323)
OKLCHoklch(67.7% 0.144 113.3)
XYZxyz(25.7184, 31.8967, 5.8386)
Luminance0.3190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A01B #231BA0
analogous
#A0661B #98A01B #56A01B
triadic
#98A01B #1B98A0 #A01B98
tetradic
#98A01B #1BA066 #231BA0 #A01B56
square
#98A01B #1BA066 #231BA0 #A01B56
split-complementary
#98A01B #1B56A0 #661BA0
monochromatic
#353709 #666C12 #98A01B #CAD424 #D9E253

Accessibility & contrast

On white

2.85
#98A01B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#98A01B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A01B
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A01B#FFFFFF#000000##000000
##98A01B1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AD9A29
Tritanopia (blue-blind)
#A39688
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #98a01b;
/* rgb */ color: rgb(152, 160, 27);
/* oklch */ color: oklch(67.7% 0.144 113.3);
Tailwind
colors: {
  custom: {
    50: '#babb66',
    500: '#98a01b',
    950: '#000000',
  },
}
SCSS
$custom: #98a01b;
$custom-light: #babb66;
$custom-dark: #000000;
JSON
{
  "hex": "#98a01b",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 63.609,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67702,
    "c": 0.14407,
    "h": 113.3
  },
  "luminance": 0.31896
}

Semantic roles & 50–950 ramp

primary
#98A01B
secondary
#5952C5
accent
#3AEE45
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #98A01B

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

Preview Lab → · Contrast checker → · Palette generator →

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