#627C28#627C28

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

Color values

HEX#627C28
RGBrgb(98, 124, 40)
HSLhsl(79, 51%, 32%)
HSVhsv(79, 68%, 49%)
CMYKcmyk(21%, 0%, 67.7%, 51.4%)
CIE-LABlab(48.47, -22.74, 41.22)
CIE-LCHlch(48.47, 47.08, 118.89°)
OKLaboklab(54.8% -0.0653 0.0939)
OKLCHoklch(54.8% 0.114 124.8)
XYZxyz(12.6277, 17.1650, 4.6550)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627C28 #42287C
analogous
#7C6C28 #627C28 #387C28
triadic
#627C28 #28627C #7C2862
tetradic
#627C28 #287C6C #42287C #7C2838
square
#627C28 #287C6C #42287C #7C2838
split-complementary
#627C28 #28387C #6C287C
monochromatic
#191F0A #3D4E19 #627C28 #87AA37 #A5C856

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627C28#FFFFFF#000000##FFFFFF
##627C281.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)
#83741D
Deuteranopia (green-blind)
#7F732E
Tritanopia (blue-blind)
#66766B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #627c28;
/* rgb */ color: rgb(98, 124, 40);
/* oklch */ color: oklch(54.8% 0.114 124.8);
Tailwind
colors: {
  custom: {
    50: '#91a267',
    500: '#627c28',
    950: '#000000',
  },
}
SCSS
$custom: #627c28;
$custom-light: #91a267;
$custom-dark: #000000;
JSON
{
  "hex": "#627c28",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 78.571,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54798,
    "c": 0.11437,
    "h": 124.8
  },
  "luminance": 0.17165
}

Semantic roles & 50–950 ramp

primary
#627C28
secondary
#6F52AD
accent
#4DDB79
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F06
muted
#7E7E7A

Preview Lab

Preview with #627C28

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

Preview Lab → · Contrast checker → · Palette generator →

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