#98A12D#98A12D

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

Color values

HEX#98A12D
RGBrgb(152, 161, 45)
HSLhsl(65, 56%, 40%)
HSVhsv(65, 72%, 63%)
CMYKcmyk(5.6%, 0%, 72%, 36.9%)
CIE-LABlab(63.64, -17.98, 55.87)
CIE-LCHlch(63.64, 58.70, 107.84°)
OKLaboklab(68.03% -0.0549 0.1241)
OKLCHoklch(68.03% 0.136 113.9)
XYZxyz(26.1682, 32.3551, 7.3488)
Luminance0.3236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A12D #362DA1
analogous
#A1702D #98A12D #5EA12D
triadic
#98A12D #2D98A1 #A12D98
tetradic
#98A12D #2DA170 #362DA1 #A12D5E
square
#98A12D #2DA170 #362DA1 #A12D5E
split-complementary
#98A12D #2D5EA1 #702DA1
monochromatic
#3E4112 #6B7120 #98A12D #BFCA41 #CFD771

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A12D#FFFFFF#000000##000000
##98A12D1.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)
#AD9918
Deuteranopia (green-blind)
#AD9B36
Tritanopia (blue-blind)
#A2978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a12d;
/* rgb */ color: rgb(152, 161, 45);
/* oklch */ color: oklch(68.0% 0.136 113.9);
Tailwind
colors: {
  custom: {
    50: '#b9bc6e',
    500: '#98a12d',
    950: '#000000',
  },
}
SCSS
$custom: #98a12d;
$custom-light: #b9bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#98a12d",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 64.655,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68034,
    "c": 0.13572,
    "h": 113.9
  },
  "luminance": 0.32355
}

Semantic roles & 50–950 ramp

primary
#98A12D
secondary
#726BBF
accent
#48E054
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98A12D

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

Preview Lab → · Contrast checker → · Palette generator →

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