#98A01D#98A01D

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

Color values

HEX#98A01D
RGBrgb(152, 160, 29)
HSLhsl(64, 69%, 37%)
HSVhsv(64, 82%, 63%)
CMYKcmyk(5%, 0%, 81.9%, 37.3%)
CIE-LABlab(63.27, -18.16, 60.71)
CIE-LCHlch(63.27, 63.37, 106.66°)
OKLaboklab(67.71% -0.0568 0.1315)
OKLCHoklch(67.71% 0.143 113.3)
XYZxyz(25.7423, 31.9063, 5.9646)
Luminance0.3191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A01D #251DA0
analogous
#A0671D #98A01D #57A01D
triadic
#98A01D #1D98A0 #A01D98
tetradic
#98A01D #1DA067 #251DA0 #A01D57
square
#98A01D #1DA067 #251DA0 #A01D57
split-complementary
#98A01D #1D57A0 #671DA0
monochromatic
#36380A #676C14 #98A01D #C9D426 #D8E157

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A01D#FFFFFF#000000##000000
##98A01D1.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)
#AC9A2A
Tritanopia (blue-blind)
#A39689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #98a01d;
/* rgb */ color: rgb(152, 160, 29);
/* oklch */ color: oklch(67.7% 0.143 113.3);
Tailwind
colors: {
  custom: {
    50: '#babb67',
    500: '#98a01d',
    950: '#000000',
  },
}
SCSS
$custom: #98a01d;
$custom-light: #babb67;
$custom-dark: #000000;
JSON
{
  "hex": "#98a01d",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 29
  },
  "hsl": {
    "h": 63.664,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.67711,
    "c": 0.14323,
    "h": 113.3
  },
  "luminance": 0.31906
}

Semantic roles & 50–950 ramp

primary
#98A01D
secondary
#5C55C4
accent
#3CEC46
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #98A01D

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

Preview Lab → · Contrast checker → · Palette generator →

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