#98A12E#98A12E

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

Color values

HEX#98A12E
RGBrgb(152, 161, 46)
HSLhsl(65, 56%, 41%)
HSVhsv(65, 71%, 63%)
CMYKcmyk(5.6%, 0%, 71.4%, 36.9%)
CIE-LABlab(63.64, -17.93, 55.51)
CIE-LCHlch(63.64, 58.33, 107.90°)
OKLaboklab(68.04% -0.0547 0.1235)
OKLCHoklch(68.04% 0.135 113.9)
XYZxyz(26.1877, 32.3629, 7.4514)
Luminance0.3236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A12E #372EA1
analogous
#A1712E #98A12E #5EA12E
triadic
#98A12E #2E98A1 #A12E98
tetradic
#98A12E #2EA171 #372EA1 #A12E5E
square
#98A12E #2EA171 #372EA1 #A12E5E
split-complementary
#98A12E #2E5EA1 #712EA1
monochromatic
#3E4213 #6B7120 #98A12E #BFC943 #CFD773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A12E#FFFFFF#000000##000000
##98A12E1.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)
#AD991A
Deuteranopia (green-blind)
#AD9B37
Tritanopia (blue-blind)
#A2978B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a12e;
/* rgb */ color: rgb(152, 161, 46);
/* oklch */ color: oklch(68.0% 0.135 113.9);
Tailwind
colors: {
  custom: {
    50: '#b9bc6f',
    500: '#98a12e',
    950: '#000000',
  },
}
SCSS
$custom: #98a12e;
$custom-light: #b9bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#98a12e",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 64.696,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68041,
    "c": 0.13507,
    "h": 113.9
  },
  "luminance": 0.32362
}

Semantic roles & 50–950 ramp

primary
#98A12E
secondary
#736CBE
accent
#49DF55
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98A12E

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

Preview Lab → · Contrast checker → · Palette generator →

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