#98A01C#98A01C

#98A01C 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#98A01C
RGBrgb(152, 160, 28)
HSLhsl(64, 70%, 37%)
HSVhsv(64, 83%, 63%)
CMYKcmyk(5%, 0%, 82.5%, 37.3%)
CIE-LABlab(63.26, -18.20, 60.97)
CIE-LCHlch(63.26, 63.63, 106.62°)
OKLaboklab(67.71% -0.0569 0.1319)
OKLCHoklch(67.71% 0.144 113.3)
XYZxyz(25.7302, 31.9014, 5.9006)
Luminance0.3190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A01C #241CA0
analogous
#A0661C #98A01C #56A01C
triadic
#98A01C #1C98A0 #A01C98
tetradic
#98A01C #1CA066 #241CA0 #A01C56
square
#98A01C #1CA066 #241CA0 #A01C56
split-complementary
#98A01C #1C56A0 #661CA0
monochromatic
#35380A #676C13 #98A01C #C9D425 #D9E155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A01C#FFFFFF#000000##000000
##98A01C1.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: #98a01c;
/* rgb */ color: rgb(152, 160, 28);
/* oklch */ color: oklch(67.7% 0.144 113.3);
Tailwind
colors: {
  custom: {
    50: '#babb66',
    500: '#98a01c',
    950: '#000000',
  },
}
SCSS
$custom: #98a01c;
$custom-light: #babb66;
$custom-dark: #000000;
JSON
{
  "hex": "#98a01c",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 63.636,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.67706,
    "c": 0.14365,
    "h": 113.3
  },
  "luminance": 0.31901
}

Semantic roles & 50–950 ramp

primary
#98A01C
secondary
#5A53C4
accent
#3BED46
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #98A01C

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

Preview Lab → · Contrast checker → · Palette generator →

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