#627A23#627A23

#627A23 is a mid, moderate yellow-green. Relative luminance 0.166; OKLCH L 54.2% C 0.116 H 123.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#627A23
RGBrgb(98, 122, 35)
HSLhsl(77, 55%, 31%)
HSVhsv(77, 71%, 48%)
CMYKcmyk(19.7%, 0%, 71.3%, 52.2%)
CIE-LABlab(47.80, -22.09, 42.68)
CIE-LCHlch(47.80, 48.05, 117.37°)
OKLaboklab(54.25% -0.064 0.0962)
OKLCHoklch(54.25% 0.116 123.6)
XYZxyz(12.3000, 16.6370, 4.1530)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627A23 #3B237A
analogous
#7A6623 #627A23 #367A23
triadic
#627A23 #23627A #7A2362
tetradic
#627A23 #237A66 #3B237A #7A2336
square
#627A23 #237A66 #3B237A #7A2336
split-complementary
#627A23 #23367A #66237A
monochromatic
#161B08 #3C4A15 #627A23 #88AA31 #A8CC4C

Accessibility & contrast

On white

4.85
#627A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#627A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627A23
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627A23#FFFFFF#000000##FFFFFF
##627A231.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817216
Deuteranopia (green-blind)
#7E712A
Tritanopia (blue-blind)
#677469
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #627a23;
/* rgb */ color: rgb(98, 122, 35);
/* oklch */ color: oklch(54.2% 0.116 123.6);
Tailwind
colors: {
  custom: {
    50: '#91a064',
    500: '#627a23',
    950: '#000000',
  },
}
SCSS
$custom: #627a23;
$custom-light: #91a064;
$custom-dark: #000000;
JSON
{
  "hex": "#627a23",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 76.552,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54246,
    "c": 0.11553,
    "h": 123.6
  },
  "luminance": 0.16637
}

Semantic roles & 50–950 ramp

primary
#627A23
secondary
#674CAD
accent
#49DF72
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E06
muted
#7E7E7A

Preview Lab

Preview with #627A23

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

Preview Lab → · Contrast checker → · Palette generator →

#627A23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva