#98A63F#98A63F

#98A63F is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.3% C 0.128 H 116.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#98A63F
RGBrgb(152, 166, 63)
HSLhsl(68, 45%, 45%)
HSVhsv(68, 62%, 65%)
CMYKcmyk(8.4%, 0%, 62%, 34.9%)
CIE-LABlab(65.21, -19.39, 50.15)
CIE-LCHlch(65.21, 53.77, 111.14°)
OKLaboklab(69.34% -0.057 0.1149)
OKLCHoklch(69.34% 0.128 116.4)
XYZxyz(27.4829, 34.3071, 9.8758)
Luminance0.3431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A63F #4D3FA6
analogous
#A6803F #98A63F #65A63F
triadic
#98A63F #3F98A6 #A63F98
tetradic
#98A63F #3FA680 #4D3FA6 #A63F65
square
#98A63F #3FA680 #4D3FA6 #A63F65
split-complementary
#98A63F #3F65A6 #803FA6
monochromatic
#474D1D #6F7A2E #98A63F #B5C360 #CAD38C

Accessibility & contrast

On white

2.67
#98A63F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#98A63F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A63F
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A63F#FFFFFF#000000##000000
##98A63F1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E33
Deuteranopia (green-blind)
#B09F46
Tritanopia (blue-blind)
#A19D90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #98a63f;
/* rgb */ color: rgb(152, 166, 63);
/* oklch */ color: oklch(69.3% 0.128 116.4);
Tailwind
colors: {
  custom: {
    50: '#b9c079',
    500: '#98a63f',
    950: '#000000',
  },
}
SCSS
$custom: #98a63f;
$custom-light: #b9c079;
$custom-dark: #000000;
JSON
{
  "hex": "#98a63f",
  "rgb": {
    "r": 152,
    "g": 166,
    "b": 63
  },
  "hsl": {
    "h": 68.155,
    "s": 44.978,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69336,
    "c": 0.12825,
    "h": 116.4
  },
  "luminance": 0.34307
}

Semantic roles & 50–950 ramp

primary
#98A63F
secondary
#8B83BE
accent
#53D565
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #98A63F

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

Preview Lab → · Contrast checker → · Palette generator →

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