#98A61D#98A61D

#98A61D is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.1% C 0.150 H 115.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#98A61D
RGBrgb(152, 166, 29)
HSLhsl(66, 70%, 38%)
HSVhsv(66, 83%, 65%)
CMYKcmyk(8.4%, 0%, 82.5%, 34.9%)
CIE-LABlab(64.99, -21.20, 62.20)
CIE-LCHlch(64.99, 65.72, 108.82°)
OKLaboklab(69.1% -0.0651 0.1347)
OKLCHoklch(69.1% 0.15 115.8)
XYZxyz(26.8077, 34.0370, 6.3198)
Luminance0.3404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A61D #2B1DA6
analogous
#A66F1D #98A61D #54A61D
triadic
#98A61D #1D98A6 #A61D98
tetradic
#98A61D #1DA66F #2B1DA6 #A61D54
square
#98A61D #1DA66F #2B1DA6 #A61D54
split-complementary
#98A61D #1D54A6 #6F1DA6
monochromatic
#393E0B #687214 #98A61D #C7D927 #D5E25B

Accessibility & contrast

On white

2.69
#98A61D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#98A61D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A61D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A61D#FFFFFF#000000##000000
##98A61D1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B19F2B
Tritanopia (blue-blind)
#A29C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #98a61d;
/* rgb */ color: rgb(152, 166, 29);
/* oklch */ color: oklch(69.1% 0.150 115.8);
Tailwind
colors: {
  custom: {
    50: '#bac068',
    500: '#98a61d',
    950: '#000000',
  },
}
SCSS
$custom: #98a61d;
$custom-light: #bac068;
$custom-dark: #000000;
JSON
{
  "hex": "#98a61d",
  "rgb": {
    "r": 152,
    "g": 166,
    "b": 29
  },
  "hsl": {
    "h": 66.131,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.69097,
    "c": 0.14964,
    "h": 115.8
  },
  "luminance": 0.34037
}

Semantic roles & 50–950 ramp

primary
#98A61D
secondary
#6459C6
accent
#3BED4D
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98A61D

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

Preview Lab → · Contrast checker → · Palette generator →

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