#98A12A#98A12A

#98A12A is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.0% C 0.138 H 113.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#98A12A
RGBrgb(152, 161, 42)
HSLhsl(65, 59%, 40%)
HSVhsv(65, 74%, 63%)
CMYKcmyk(5.6%, 0%, 73.9%, 36.9%)
CIE-LABlab(63.62, -18.13, 56.94)
CIE-LCHlch(63.62, 59.76, 107.67°)
OKLaboklab(68.01% -0.0556 0.1258)
OKLCHoklch(68.01% 0.138 113.8)
XYZxyz(26.1125, 32.3328, 7.0553)
Luminance0.3233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A12A #332AA1
analogous
#A16F2A #98A12A #5CA12A
triadic
#98A12A #2A98A1 #A12A98
tetradic
#98A12A #2AA16F #332AA1 #A12A5C
square
#98A12A #2AA16F #332AA1 #A12A5C
split-complementary
#98A12A #2A5CA1 #6F2AA1
monochromatic
#3C4011 #6A701D #98A12A #C1CC3C #D1D96D

Accessibility & contrast

On white

2.81
#98A12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#98A12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A12A
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A12A#FFFFFF#000000##000000
##98A12A1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9912
Deuteranopia (green-blind)
#AD9B34
Tritanopia (blue-blind)
#A2978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a12a;
/* rgb */ color: rgb(152, 161, 42);
/* oklch */ color: oklch(68.0% 0.138 113.8);
Tailwind
colors: {
  custom: {
    50: '#babc6d',
    500: '#98a12a',
    950: '#000000',
  },
}
SCSS
$custom: #98a12a;
$custom-light: #babc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#98a12a",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 64.538,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68013,
    "c": 0.13758,
    "h": 113.8
  },
  "luminance": 0.32332
}

Semantic roles & 50–950 ramp

primary
#98A12A
secondary
#6E67C0
accent
#46E252
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A12A

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

Preview Lab → · Contrast checker → · Palette generator →

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