#627E34#627E34

#627E34 is a mid, moderate yellow-green. Relative luminance 0.178; OKLCH L 55.4% C 0.107 H 126.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#627E34
RGBrgb(98, 126, 52)
HSLhsl(83, 42%, 35%)
HSVhsv(83, 59%, 49%)
CMYKcmyk(22.2%, 0%, 58.7%, 50.6%)
CIE-LABlab(49.21, -22.69, 36.38)
CIE-LCHlch(49.21, 42.88, 121.95°)
OKLaboklab(55.44% -0.064 0.0852)
OKLCHoklch(55.44% 0.107 126.9)
XYZxyz(13.1177, 17.7661, 5.9863)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E34 #50347E
analogous
#7E7534 #627E34 #3D7E34
triadic
#627E34 #34627E #7E3462
tetradic
#627E34 #347E75 #50347E #7E343D
square
#627E34 #347E75 #50347E #7E343D
split-complementary
#627E34 #343D7E #75347E
monochromatic
#1F2710 #405322 #627E34 #84A946 #A1C26B

Accessibility & contrast

On white

4.61
#627E34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#627E34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627E34
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E34#FFFFFF#000000##FFFFFF
##627E341.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762C
Deuteranopia (green-blind)
#807439
Tritanopia (blue-blind)
#65796E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627e34;
/* rgb */ color: rgb(98, 126, 52);
/* oklch */ color: oklch(55.4% 0.107 126.9);
Tailwind
colors: {
  custom: {
    50: '#91a36e',
    500: '#627e34',
    950: '#000000',
  },
}
SCSS
$custom: #627e34;
$custom-light: #91a36e;
$custom-dark: #000000;
JSON
{
  "hex": "#627e34",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 52
  },
  "hsl": {
    "h": 82.703,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55437,
    "c": 0.10652,
    "h": 126.9
  },
  "luminance": 0.17766
}

Semantic roles & 50–950 ramp

primary
#627E34
secondary
#7E64AA
accent
#56D185
background
#F9FAF6
surface
#F1F3EC
border
#CBCDC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #627E34

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

Preview Lab → · Contrast checker → · Palette generator →

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