#98A62E#98A62E

#98A62E 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#98A62E
RGBrgb(152, 166, 46)
HSLhsl(67, 57%, 42%)
HSVhsv(67, 72%, 65%)
CMYKcmyk(8.4%, 0%, 72.3%, 34.9%)
CIE-LABlab(65.08, -20.47, 56.91)
CIE-LCHlch(65.08, 60.48, 109.78°)
OKLaboklab(69.19% -0.0617 0.1265)
OKLCHoklch(69.19% 0.141 116)
XYZxyz(27.0789, 34.1455, 7.7485)
Luminance0.3414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A62E #3C2EA6
analogous
#A6782E #98A62E #5CA62E
triadic
#98A62E #2E98A6 #A62E98
tetradic
#98A62E #2EA678 #3C2EA6 #A62E5C
square
#98A62E #2EA678 #3C2EA6 #A62E5C
split-complementary
#98A62E #2E5CA6 #782EA6
monochromatic
#404613 #6C7621 #98A62E #BCCC46 #CDD976

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A62E#FFFFFF#000000##000000
##98A62E1.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)
#B29D18
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#A29C8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #98a62e;
/* rgb */ color: rgb(152, 166, 46);
/* oklch */ color: oklch(69.2% 0.141 116.0);
Tailwind
colors: {
  custom: {
    50: '#b9c06f',
    500: '#98a62e',
    950: '#000000',
  },
}
SCSS
$custom: #98a62e;
$custom-light: #b9c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#98a62e",
  "rgb": {
    "r": 152,
    "g": 166,
    "b": 46
  },
  "hsl": {
    "h": 67,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69193,
    "c": 0.14074,
    "h": 116
  },
  "luminance": 0.34145
}

Semantic roles & 50–950 ramp

primary
#98A62E
secondary
#796FC1
accent
#48E05A
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A62E

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

Preview Lab → · Contrast checker → · Palette generator →

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