#98A42D#98A42D

#98A42D is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.7% C 0.139 H 115.2°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#98A42D
RGBrgb(152, 164, 45)
HSLhsl(66, 57%, 41%)
HSVhsv(66, 73%, 64%)
CMYKcmyk(7.3%, 0%, 72.6%, 35.7%)
CIE-LABlab(64.50, -19.51, 56.71)
CIE-LCHlch(64.50, 59.97, 108.99°)
OKLaboklab(68.72% -0.0592 0.1259)
OKLCHoklch(68.72% 0.139 115.2)
XYZxyz(26.6987, 33.4162, 7.5256)
Luminance0.3342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A42D #392DA4
analogous
#A4742D #98A42D #5CA42D
triadic
#98A42D #2D98A4 #A42D98
tetradic
#98A42D #2DA474 #392DA4 #A42D5C
square
#98A42D #2DA474 #392DA4 #A42D5C
split-complementary
#98A42D #2D5CA4 #742DA4
monochromatic
#3F4413 #6B7420 #98A42D #BECB43 #CED973

Accessibility & contrast

On white

2.73
#98A42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#98A42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A42D
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A42D#FFFFFF#000000##000000
##98A42D1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C17
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#A29A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a42d;
/* rgb */ color: rgb(152, 164, 45);
/* oklch */ color: oklch(68.7% 0.139 115.2);
Tailwind
colors: {
  custom: {
    50: '#b9be6e',
    500: '#98a42d',
    950: '#000000',
  },
}
SCSS
$custom: #98a42d;
$custom-light: #b9be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#98a42d",
  "rgb": {
    "r": 152,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 66.05,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68724,
    "c": 0.1391,
    "h": 115.2
  },
  "luminance": 0.33416
}

Semantic roles & 50–950 ramp

primary
#98A42D
secondary
#756DC0
accent
#48E057
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98A42D

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

Preview Lab → · Contrast checker → · Palette generator →

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