#98A02C#98A02C

#98A02C is a light, vivid yellow. Relative luminance 0.320; OKLCH L 67.8% C 0.135 H 113.4°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#98A02C
RGBrgb(152, 160, 44)
HSLhsl(64, 57%, 40%)
HSVhsv(64, 73%, 63%)
CMYKcmyk(5%, 0%, 72.5%, 37.3%)
CIE-LABlab(63.34, -17.52, 55.96)
CIE-LCHlch(63.34, 58.64, 107.39°)
OKLaboklab(67.8% -0.0537 0.1241)
OKLCHoklch(67.8% 0.135 113.4)
XYZxyz(25.9751, 31.9994, 7.1906)
Luminance0.3200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A02C #342CA0
analogous
#A06E2C #98A02C #5EA02C
triadic
#98A02C #2C98A0 #A02C98
tetradic
#98A02C #2CA06E #342CA0 #A02C5E
square
#98A02C #2CA06E #342CA0 #A02C5E
split-complementary
#98A02C #2C5EA0 #6E2CA0
monochromatic
#3D4012 #6A701F #98A02C #C1CA3F #D0D76F

Accessibility & contrast

On white

2.84
#98A02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#98A02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A02C
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A02C#FFFFFF#000000##000000
##98A02C1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9817
Deuteranopia (green-blind)
#AC9B35
Tritanopia (blue-blind)
#A2968A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #98a02c;
/* rgb */ color: rgb(152, 160, 44);
/* oklch */ color: oklch(67.8% 0.135 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb6d',
    500: '#98a02c',
    950: '#000000',
  },
}
SCSS
$custom: #98a02c;
$custom-light: #b9bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#98a02c",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 64.138,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.67797,
    "c": 0.13525,
    "h": 113.4
  },
  "luminance": 0.31999
}

Semantic roles & 50–950 ramp

primary
#98A02C
secondary
#6F69BF
accent
#48E052
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #98A02C

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

Preview Lab → · Contrast checker → · Palette generator →

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