#98A223#98A223

#98A223 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.2% C 0.143 H 114.2°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#98A223
RGBrgb(152, 162, 35)
HSLhsl(65, 64%, 39%)
HSVhsv(65, 78%, 64%)
CMYKcmyk(6.2%, 0%, 78.4%, 36.5%)
CIE-LABlab(63.87, -18.96, 59.49)
CIE-LCHlch(63.87, 62.44, 107.67°)
OKLaboklab(68.2% -0.0585 0.13)
OKLCHoklch(68.2% 0.143 114.2)
XYZxyz(26.1734, 32.6379, 6.5108)
Luminance0.3264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A223 #2D23A2
analogous
#A26C23 #98A223 #58A223
triadic
#98A223 #2398A2 #A22398
tetradic
#98A223 #23A26C #2D23A2 #A22358
square
#98A223 #23A26C #2D23A2 #A22358
split-complementary
#98A223 #2358A2 #6C23A2
monochromatic
#3A3D0D #697018 #98A223 #C5D230 #D3DD62

Accessibility & contrast

On white

2.79
#98A223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#98A223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A223
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A223#FFFFFF#000000##000000
##98A2231.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#A2988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #98a223;
/* rgb */ color: rgb(152, 162, 35);
/* oklch */ color: oklch(68.2% 0.143 114.2);
Tailwind
colors: {
  custom: {
    50: '#babd69',
    500: '#98a223',
    950: '#000000',
  },
}
SCSS
$custom: #98a223;
$custom-light: #babd69;
$custom-dark: #000000;
JSON
{
  "hex": "#98a223",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 64.724,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68202,
    "c": 0.14255,
    "h": 114.2
  },
  "luminance": 0.32637
}

Semantic roles & 50–950 ramp

primary
#98A223
secondary
#665EC2
accent
#40E74D
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98A223

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

Preview Lab → · Contrast checker → · Palette generator →

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