#98A02B#98A02B

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

Color values

HEX#98A02B
RGBrgb(152, 160, 43)
HSLhsl(64, 58%, 40%)
HSVhsv(64, 73%, 63%)
CMYKcmyk(5%, 0%, 73.1%, 37.3%)
CIE-LABlab(63.34, -17.57, 56.31)
CIE-LCHlch(63.34, 58.99, 107.33°)
OKLaboklab(67.79% -0.054 0.1247)
OKLCHoklch(67.79% 0.136 113.4)
XYZxyz(25.9565, 31.9920, 7.0928)
Luminance0.3199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A02B #332BA0
analogous
#A06E2B #98A02B #5DA02B
triadic
#98A02B #2B98A0 #A02B98
tetradic
#98A02B #2BA06E #332BA0 #A02B5D
square
#98A02B #2BA06E #332BA0 #A02B5D
split-complementary
#98A02B #2B5DA0 #6E2BA0
monochromatic
#3C4011 #6A701E #98A02B #C1CB3D #D1D86E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A02B#FFFFFF#000000##000000
##98A02B1.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)
#AC9815
Deuteranopia (green-blind)
#AC9B34
Tritanopia (blue-blind)
#A29689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #98a02b;
/* rgb */ color: rgb(152, 160, 43);
/* oklch */ color: oklch(67.8% 0.136 113.4);
Tailwind
colors: {
  custom: {
    50: '#babb6d',
    500: '#98a02b',
    950: '#000000',
  },
}
SCSS
$custom: #98a02b;
$custom-light: #babb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#98a02b",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 64.103,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6779,
    "c": 0.13587,
    "h": 113.4
  },
  "luminance": 0.31991
}

Semantic roles & 50–950 ramp

primary
#98A02B
secondary
#6E68BF
accent
#47E151
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #98A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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