#627C26#627C26

#627C26 is a mid, moderate yellow-green. Relative luminance 0.172; OKLCH L 54.8% C 0.116 H 124.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#627C26
RGBrgb(98, 124, 38)
HSLhsl(78, 53%, 32%)
HSVhsv(78, 69%, 49%)
CMYKcmyk(21%, 0%, 69.4%, 51.4%)
CIE-LABlab(48.45, -22.90, 42.07)
CIE-LCHlch(48.45, 47.90, 118.55°)
OKLaboklab(54.78% -0.0659 0.0954)
OKLCHoklch(54.78% 0.116 124.6)
XYZxyz(12.5946, 17.1518, 4.4804)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627C26 #40267C
analogous
#7C6B26 #627C26 #377C26
triadic
#627C26 #26627C #7C2662
tetradic
#627C26 #267C6B #40267C #7C2637
square
#627C26 #267C6B #40267C #7C2637
split-complementary
#627C26 #26377C #6B267C
monochromatic
#181E09 #3D4D18 #627C26 #87AB34 #A6CA52

Accessibility & contrast

On white

4.74
#627C26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#627C26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627C26
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627C26#FFFFFF#000000##FFFFFF
##627C261.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741A
Deuteranopia (green-blind)
#7F732D
Tritanopia (blue-blind)
#67766B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #627c26;
/* rgb */ color: rgb(98, 124, 38);
/* oklch */ color: oklch(54.8% 0.116 124.6);
Tailwind
colors: {
  custom: {
    50: '#91a265',
    500: '#627c26',
    950: '#000000',
  },
}
SCSS
$custom: #627c26;
$custom-light: #91a265;
$custom-dark: #000000;
JSON
{
  "hex": "#627c26",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 38
  },
  "hsl": {
    "h": 78.14,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54779,
    "c": 0.11595,
    "h": 124.6
  },
  "luminance": 0.17152
}

Semantic roles & 50–950 ramp

primary
#627C26
secondary
#6C50AE
accent
#4BDC77
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F06
muted
#7E7E7A

Preview Lab

Preview with #627C26

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

Preview Lab → · Contrast checker → · Palette generator →

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