#629227#629227

#629227 is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.4% C 0.145 H 130.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#629227
RGBrgb(98, 146, 39)
HSLhsl(87, 58%, 36%)
HSVhsv(87, 73%, 57%)
CMYKcmyk(32.9%, 0%, 73.3%, 42.7%)
CIE-LABlab(55.38, -33.44, 48.74)
CIE-LCHlch(55.38, 59.10, 124.45°)
OKLaboklab(60.41% -0.0947 0.1095)
OKLCHoklch(60.41% 0.145 130.8)
XYZxyz(15.6820, 23.3004, 5.5902)
Luminance0.2330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#629227 #572792
analogous
#928D27 #629227 #2D9227
triadic
#629227 #276292 #922762
tetradic
#629227 #27928D #572792 #92272D
square
#629227 #27928D #572792 #92272D
split-complementary
#629227 #272D92 #8D2792
monochromatic
#21310D #42621A #629227 #82C234 #A0D45F

Accessibility & contrast

On white

3.71
#629227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#629227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #629227
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##629227#FFFFFF#000000##000000
##6292271.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998714
Deuteranopia (green-blind)
#928331
Tritanopia (blue-blind)
#648C7D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #629227;
/* rgb */ color: rgb(98, 146, 39);
/* oklch */ color: oklch(60.4% 0.145 130.8);
Tailwind
colors: {
  custom: {
    50: '#93b268',
    500: '#629227',
    950: '#000000',
  },
}
SCSS
$custom: #629227;
$custom-light: #93b268;
$custom-dark: #000000;
JSON
{
  "hex": "#629227",
  "rgb": {
    "r": 98,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 86.916,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60406,
    "c": 0.14479,
    "h": 130.8
  },
  "luminance": 0.23301
}

Semantic roles & 50–950 ramp

primary
#629227
secondary
#865BBA
accent
#47E18C
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #629227

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

Preview Lab → · Contrast checker → · Palette generator →

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