#598227#598227

#598227 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.7% C 0.128 H 130.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#598227
RGBrgb(89, 130, 39)
HSLhsl(87, 54%, 33%)
HSVhsv(87, 70%, 51%)
CMYKcmyk(31.5%, 0%, 70%, 49%)
CIE-LABlab(49.78, -29.48, 42.85)
CIE-LCHlch(49.78, 52.01, 124.53°)
OKLaboklab(55.71% -0.0833 0.0974)
OKLCHoklch(55.71% 0.128 130.6)
XYZxyz(12.4686, 18.2352, 4.7819)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#598227 #502782
analogous
#827D27 #598227 #2B8227
triadic
#598227 #275982 #822759
tetradic
#598227 #27827D #502782 #82272B
square
#598227 #27827D #502782 #82272B
split-complementary
#598227 #272B82 #7D2782
monochromatic
#19240B #395319 #598227 #79B135 #98CD57

Accessibility & contrast

On white

4.52
#598227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#598227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #598227
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##598227#FFFFFF#000000##000000
##5982271.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781A
Deuteranopia (green-blind)
#82752F
Tritanopia (blue-blind)
#5B7C70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #598227;
/* rgb */ color: rgb(89, 130, 39);
/* oklch */ color: oklch(55.7% 0.128 130.6);
Tailwind
colors: {
  custom: {
    50: '#8ba666',
    500: '#598227',
    950: '#000000',
  },
}
SCSS
$custom: #598227;
$custom-light: #8ba666;
$custom-dark: #000000;
JSON
{
  "hex": "#598227",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 87.033,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55709,
    "c": 0.12814,
    "h": 130.6
  },
  "luminance": 0.18236
}

Semantic roles & 50–950 ramp

primary
#598227
secondary
#7E53B1
accent
#4BDD8D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #598227

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

Preview Lab → · Contrast checker → · Palette generator →

#598227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva