#98A62D#98A62D

#98A62D is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.2% C 0.141 H 116.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#98A62D
RGBrgb(152, 166, 45)
HSLhsl(67, 57%, 41%)
HSVhsv(67, 73%, 65%)
CMYKcmyk(8.4%, 0%, 72.9%, 34.9%)
CIE-LABlab(65.07, -20.52, 57.27)
CIE-LCHlch(65.07, 60.83, 109.72°)
OKLaboklab(69.19% -0.062 0.1271)
OKLCHoklch(69.19% 0.141 116)
XYZxyz(27.0595, 34.1377, 7.6459)
Luminance0.3414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A62D #3B2DA6
analogous
#A6782D #98A62D #5CA62D
triadic
#98A62D #2D98A6 #A62D98
tetradic
#98A62D #2DA678 #3B2DA6 #A62D5C
square
#98A62D #2DA678 #3B2DA6 #A62D5C
split-complementary
#98A62D #2D5CA6 #782DA6
monochromatic
#404613 #6C7620 #98A62D #BDCC44 #CED974

Accessibility & contrast

On white

2.68
#98A62D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#98A62D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A62D
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A62D#FFFFFF#000000##000000
##98A62D1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D16
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#A29C8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #98a62d;
/* rgb */ color: rgb(152, 166, 45);
/* oklch */ color: oklch(69.2% 0.141 116.0);
Tailwind
colors: {
  custom: {
    50: '#bac06f',
    500: '#98a62d',
    950: '#000000',
  },
}
SCSS
$custom: #98a62d;
$custom-light: #bac06f;
$custom-dark: #000000;
JSON
{
  "hex": "#98a62d",
  "rgb": {
    "r": 152,
    "g": 166,
    "b": 45
  },
  "hsl": {
    "h": 66.942,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69186,
    "c": 0.14136,
    "h": 116
  },
  "luminance": 0.34137
}

Semantic roles & 50–950 ramp

primary
#98A62D
secondary
#776EC1
accent
#47E159
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A62D

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

Preview Lab → · Contrast checker → · Palette generator →

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