#627E26#627E26

#627E26 is a mid, moderate yellow-green. Relative luminance 0.177; OKLCH L 55.3% C 0.119 H 125.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#627E26
RGBrgb(98, 126, 38)
HSLhsl(79, 54%, 32%)
HSVhsv(79, 70%, 49%)
CMYKcmyk(22.2%, 0%, 69.8%, 50.6%)
CIE-LABlab(49.08, -23.91, 42.73)
CIE-LCHlch(49.08, 48.96, 119.23°)
OKLaboklab(55.29% -0.0687 0.0968)
OKLCHoklch(55.29% 0.119 125.4)
XYZxyz(12.8478, 17.6582, 4.5648)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E26 #42267E
analogous
#7E6E26 #627E26 #367E26
triadic
#627E26 #26627E #7E2662
tetradic
#627E26 #267E6E #42267E #7E2636
square
#627E26 #267E6E #42267E #7E2636
split-complementary
#627E26 #26367E #6E267E
monochromatic
#19200A #3D4F18 #627E26 #87AD34 #A5CB53

Accessibility & contrast

On white

4.63
#627E26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#627E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627E26
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E26#FFFFFF#000000##FFFFFF
##627E261.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857619
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#66786C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627e26;
/* rgb */ color: rgb(98, 126, 38);
/* oklch */ color: oklch(55.3% 0.119 125.4);
Tailwind
colors: {
  custom: {
    50: '#91a366',
    500: '#627e26',
    950: '#000000',
  },
}
SCSS
$custom: #627e26;
$custom-light: #91a366;
$custom-dark: #000000;
JSON
{
  "hex": "#627e26",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 38
  },
  "hsl": {
    "h": 79.091,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55287,
    "c": 0.11868,
    "h": 125.4
  },
  "luminance": 0.17658
}

Semantic roles & 50–950 ramp

primary
#627E26
secondary
#6F50B0
accent
#4BDD79
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627E26

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

Preview Lab → · Contrast checker → · Palette generator →

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