#618228#618228

#618228 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.3% C 0.123 H 127.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#618228
RGBrgb(97, 130, 40)
HSLhsl(82, 53%, 33%)
HSVhsv(82, 69%, 51%)
CMYKcmyk(25.4%, 0%, 69.2%, 49%)
CIE-LABlab(50.29, -26.17, 43.11)
CIE-LCHlch(50.29, 50.43, 121.26°)
OKLaboklab(56.25% -0.0747 0.0979)
OKLCHoklch(56.25% 0.123 127.3)
XYZxyz(13.2954, 18.6596, 4.9083)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#618228 #492882
analogous
#827628 #618228 #348228
triadic
#618228 #286182 #822861
tetradic
#618228 #288276 #492882 #822834
square
#618228 #288276 #492882 #822834
split-complementary
#618228 #283482 #762882
monochromatic
#1B240B #3E531A #618228 #84B136 #A2CC59

Accessibility & contrast

On white

4.44
#618228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#618228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #618228
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##618228#FFFFFF#000000##000000
##6182281.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791B
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#657C70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #618228;
/* rgb */ color: rgb(97, 130, 40);
/* oklch */ color: oklch(56.3% 0.123 127.3);
Tailwind
colors: {
  custom: {
    50: '#91a667',
    500: '#618228',
    950: '#000000',
  },
}
SCSS
$custom: #618228;
$custom-light: #91a667;
$custom-dark: #000000;
JSON
{
  "hex": "#618228",
  "rgb": {
    "r": 97,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 82,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56253,
    "c": 0.12311,
    "h": 127.3
  },
  "luminance": 0.1866
}

Semantic roles & 50–950 ramp

primary
#618228
secondary
#7755B1
accent
#4BDC81
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #618228

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

Preview Lab → · Contrast checker → · Palette generator →

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