#98AA2E#98AA2E

#98AA2E is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.1% C 0.145 H 117.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#98AA2E
RGBrgb(152, 170, 46)
HSLhsl(69, 57%, 42%)
HSVhsv(69, 73%, 67%)
CMYKcmyk(10.6%, 0%, 72.9%, 33.3%)
CIE-LABlab(66.23, -22.47, 58.03)
CIE-LCHlch(66.23, 62.23, 111.17°)
OKLaboklab(70.12% -0.0673 0.1288)
OKLCHoklch(70.12% 0.145 117.6)
XYZxyz(27.8174, 35.6224, 7.9946)
Luminance0.3562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AA2E #402EAA
analogous
#AA7E2E #98AA2E #5AAA2E
triadic
#98AA2E #2E98AA #AA2E98
tetradic
#98AA2E #2EAA7E #402EAA #AA2E5A
square
#98AA2E #2EAA7E #402EAA #AA2E5A
split-complementary
#98AA2E #2E5AAA #7E2EAA
monochromatic
#424A14 #6D7A21 #98AA2E #BACD48 #CCDA78

Accessibility & contrast

On white

2.58
#98AA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#98AA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AA2E
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AA2E#FFFFFF#000000##000000
##98AA2E1.002.588.128.12
#FFFFFF2.581.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A116
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#A1A092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #98aa2e;
/* rgb */ color: rgb(152, 170, 46);
/* oklch */ color: oklch(70.1% 0.145 117.6);
Tailwind
colors: {
  custom: {
    50: '#bac370',
    500: '#98aa2e',
    950: '#000000',
  },
}
SCSS
$custom: #98aa2e;
$custom-light: #bac370;
$custom-dark: #000000;
JSON
{
  "hex": "#98aa2e",
  "rgb": {
    "r": 152,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 68.71,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70119,
    "c": 0.14535,
    "h": 117.6
  },
  "luminance": 0.35622
}

Semantic roles & 50–950 ramp

primary
#98AA2E
secondary
#7D71C3
accent
#47E15D
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98AA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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