#98A02E#98A02E

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

Color values

HEX#98A02E
RGBrgb(152, 160, 46)
HSLhsl(64, 55%, 40%)
HSVhsv(64, 71%, 63%)
CMYKcmyk(5%, 0%, 71.2%, 37.3%)
CIE-LABlab(63.36, -17.42, 55.23)
CIE-LCHlch(63.36, 57.91, 107.50°)
OKLaboklab(67.81% -0.0532 0.1229)
OKLCHoklch(67.81% 0.134 113.4)
XYZxyz(26.0136, 32.0148, 7.3934)
Luminance0.3201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A02E #362EA0
analogous
#A06F2E #98A02E #5FA02E
triadic
#98A02E #2E98A0 #A02E98
tetradic
#98A02E #2EA06F #362EA0 #A02E5F
square
#98A02E #2EA06F #362EA0 #A02E5F
split-complementary
#98A02E #2E5FA0 #6F2EA0
monochromatic
#3E4113 #6B7020 #98A02E #BFC942 #CFD672

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A02E#FFFFFF#000000##000000
##98A02E1.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)
#AC981A
Deuteranopia (green-blind)
#AC9B37
Tritanopia (blue-blind)
#A2968A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #98a02e;
/* rgb */ color: rgb(152, 160, 46);
/* oklch */ color: oklch(67.8% 0.134 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb6f',
    500: '#98a02e',
    950: '#000000',
  },
}
SCSS
$custom: #98a02e;
$custom-light: #b9bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#98a02e",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 64.211,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67811,
    "c": 0.13396,
    "h": 113.4
  },
  "luminance": 0.32014
}

Semantic roles & 50–950 ramp

primary
#98A02E
secondary
#726CBE
accent
#49DF54
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #98A02E

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

Preview Lab → · Contrast checker → · Palette generator →

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