#98A64C#98A64C

#98A64C is a light, moderate yellow. Relative luminance 0.345; OKLCH L 69.5% C 0.116 H 116.9°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#98A64C
RGBrgb(152, 166, 76)
HSLhsl(69, 37%, 47%)
HSVhsv(69, 54%, 65%)
CMYKcmyk(8.4%, 0%, 54.2%, 34.9%)
CIE-LABlab(65.33, -18.32, 44.29)
CIE-LCHlch(65.33, 47.93, 112.47°)
OKLaboklab(69.48% -0.0527 0.1039)
OKLCHoklch(69.48% 0.116 116.9)
XYZxyz(27.8900, 34.4699, 12.0202)
Luminance0.3447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A64C #5A4CA6
analogous
#A6874C #98A64C #6BA64C
triadic
#98A64C #4C98A6 #A64C98
tetradic
#98A64C #4CA687 #5A4CA6 #A64C6B
square
#98A64C #4CA687 #5A4CA6 #A64C6B
split-complementary
#98A64C #4C6BA6 #874CA6
monochromatic
#4B5226 #727C39 #98A64C #B2BE71 #C9D19B

Accessibility & contrast

On white

2.66
#98A64C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#98A64C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A64C
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A64C#FFFFFF#000000##000000
##98A64C1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E43
Deuteranopia (green-blind)
#AF9F51
Tritanopia (blue-blind)
#A09E92
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a64c;
/* rgb */ color: rgb(152, 166, 76);
/* oklch */ color: oklch(69.5% 0.116 116.9);
Tailwind
colors: {
  custom: {
    50: '#b8c081',
    500: '#98a64c',
    950: '#000000',
  },
}
SCSS
$custom: #98a64c;
$custom-light: #b8c081;
$custom-dark: #000000;
JSON
{
  "hex": "#98a64c",
  "rgb": {
    "r": 152,
    "g": 166,
    "b": 76
  },
  "hsl": {
    "h": 69.333,
    "s": 37.19,
    "l": 47.451
  },
  "oklch": {
    "l": 0.69481,
    "c": 0.11648,
    "h": 116.9
  },
  "luminance": 0.3447
}

Semantic roles & 50–950 ramp

primary
#98A64C
secondary
#9790BE
accent
#5BCD6C
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#12120A
muted
#81817C

Preview Lab

Preview with #98A64C

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

Preview Lab → · Contrast checker → · Palette generator →

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