#98A124#98A124

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

Color values

HEX#98A124
RGBrgb(152, 161, 36)
HSLhsl(64, 63%, 39%)
HSVhsv(64, 78%, 63%)
CMYKcmyk(5.6%, 0%, 77.6%, 36.9%)
CIE-LABlab(63.58, -18.41, 58.92)
CIE-LCHlch(63.58, 61.73, 107.35°)
OKLaboklab(67.98% -0.0569 0.129)
OKLCHoklch(67.98% 0.141 113.8)
XYZxyz(26.0130, 32.2931, 6.5316)
Luminance0.3229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A124 #2D24A1
analogous
#A16B24 #98A124 #59A124
triadic
#98A124 #2498A1 #A12498
tetradic
#98A124 #24A16B #2D24A1 #A12459
square
#98A124 #24A16B #2D24A1 #A12459
split-complementary
#98A124 #2459A1 #6B24A1
monochromatic
#3A3D0E #696F19 #98A124 #C5D131 #D3DC63

Accessibility & contrast

On white

2.82
#98A124 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#98A124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A124
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A124#FFFFFF#000000##000000
##98A1241.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98a124;
/* rgb */ color: rgb(152, 161, 36);
/* oklch */ color: oklch(68.0% 0.141 113.8);
Tailwind
colors: {
  custom: {
    50: '#babc6a',
    500: '#98a124',
    950: '#000000',
  },
}
SCSS
$custom: #98a124;
$custom-light: #babc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#98a124",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 36
  },
  "hsl": {
    "h": 64.32,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67977,
    "c": 0.14095,
    "h": 113.8
  },
  "luminance": 0.32293
}

Semantic roles & 50–950 ramp

primary
#98A124
secondary
#665FC2
accent
#41E64D
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A124

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

Preview Lab → · Contrast checker → · Palette generator →

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