#629226#629226

#629226 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#629226
RGBrgb(98, 146, 38)
HSLhsl(87, 59%, 36%)
HSVhsv(87, 74%, 57%)
CMYKcmyk(32.9%, 0%, 74%, 42.7%)
CIE-LABlab(55.37, -33.50, 49.11)
CIE-LCHlch(55.37, 59.45, 124.30°)
OKLaboklab(60.4% -0.095 0.1102)
OKLCHoklch(60.4% 0.145 130.8)
XYZxyz(15.6656, 23.2938, 5.5041)
Luminance0.2329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#629226 #562692
analogous
#928C26 #629226 #2C9226
triadic
#629226 #266292 #922662
tetradic
#629226 #26928C #562692 #92262C
square
#629226 #26928C #562692 #92262C
split-complementary
#629226 #262C92 #8C2692
monochromatic
#21310D #416119 #629226 #83C333 #A0D55D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##629226#FFFFFF#000000##000000
##6292261.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)
#998712
Deuteranopia (green-blind)
#928330
Tritanopia (blue-blind)
#648C7D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #629226;
/* rgb */ color: rgb(98, 146, 38);
/* oklch */ color: oklch(60.4% 0.145 130.8);
Tailwind
colors: {
  custom: {
    50: '#93b268',
    500: '#629226',
    950: '#000000',
  },
}
SCSS
$custom: #629226;
$custom-light: #93b268;
$custom-dark: #000000;
JSON
{
  "hex": "#629226",
  "rgb": {
    "r": 98,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 86.667,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60399,
    "c": 0.14543,
    "h": 130.8
  },
  "luminance": 0.23294
}

Semantic roles & 50–950 ramp

primary
#629226
secondary
#855ABA
accent
#46E28B
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #629226

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

Preview Lab → · Contrast checker → · Palette generator →

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