#98A01E#98A01E

#98A01E 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#98A01E
RGBrgb(152, 160, 30)
HSLhsl(64, 68%, 37%)
HSVhsv(64, 81%, 63%)
CMYKcmyk(5%, 0%, 81.3%, 37.3%)
CIE-LABlab(63.27, -18.13, 60.43)
CIE-LCHlch(63.27, 63.09, 106.70°)
OKLaboklab(67.72% -0.0566 0.1311)
OKLCHoklch(67.72% 0.143 113.3)
XYZxyz(25.7549, 31.9113, 6.0308)
Luminance0.3191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A01E #261EA0
analogous
#A0671E #98A01E #57A01E
triadic
#98A01E #1E98A0 #A01E98
tetradic
#98A01E #1EA067 #261EA0 #A01E57
square
#98A01E #1EA067 #261EA0 #A01E57
split-complementary
#98A01E #1E57A0 #671EA0
monochromatic
#36390B #676C14 #98A01E #C9D428 #D7E059

Accessibility & contrast

On white

2.84
#98A01E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A01E#FFFFFF#000000##000000
##98A01E1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AC9A2B
Tritanopia (blue-blind)
#A39689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #98a01e;
/* rgb */ color: rgb(152, 160, 30);
/* oklch */ color: oklch(67.7% 0.143 113.3);
Tailwind
colors: {
  custom: {
    50: '#babb67',
    500: '#98a01e',
    950: '#000000',
  },
}
SCSS
$custom: #98a01e;
$custom-light: #babb67;
$custom-dark: #000000;
JSON
{
  "hex": "#98a01e",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 30
  },
  "hsl": {
    "h": 63.692,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.67716,
    "c": 0.14278,
    "h": 113.3
  },
  "luminance": 0.31911
}

Semantic roles & 50–950 ramp

primary
#98A01E
secondary
#5D56C4
accent
#3DEB47
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #98A01E

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

Preview Lab → · Contrast checker → · Palette generator →

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