#627F2B#627F2B

#627F2B is a mid, moderate yellow-green. Relative luminance 0.179; OKLCH L 55.6% C 0.116 H 126.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#627F2B
RGBrgb(98, 127, 43)
HSLhsl(81, 49%, 33%)
HSVhsv(81, 66%, 50%)
CMYKcmyk(22.8%, 0%, 66.1%, 50.2%)
CIE-LABlab(49.43, -24.02, 40.91)
CIE-LCHlch(49.43, 47.44, 120.42°)
OKLaboklab(55.59% -0.0685 0.0937)
OKLCHoklch(55.59% 0.116 126.2)
XYZxyz(13.0625, 17.9496, 5.0615)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F2B #482B7F
analogous
#7F722B #627F2B #387F2B
triadic
#627F2B #2B627F #7F2B62
tetradic
#627F2B #2B7F72 #482B7F #7F2B38
square
#627F2B #2B7F72 #482B7F #7F2B38
split-complementary
#627F2B #2B387F #722B7F
monochromatic
#1B240C #3F511C #627F2B #85AD3A #A3C85C

Accessibility & contrast

On white

4.58
#627F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#627F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627F2B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627F2B#FFFFFF#000000##000000
##627F2B1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867720
Deuteranopia (green-blind)
#827531
Tritanopia (blue-blind)
#66796E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627f2b;
/* rgb */ color: rgb(98, 127, 43);
/* oklch */ color: oklch(55.6% 0.116 126.2);
Tailwind
colors: {
  custom: {
    50: '#91a469',
    500: '#627f2b',
    950: '#000000',
  },
}
SCSS
$custom: #627f2b;
$custom-light: #91a469;
$custom-dark: #000000;
JSON
{
  "hex": "#627f2b",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 80.714,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55589,
    "c": 0.11606,
    "h": 126.2
  },
  "luminance": 0.1795
}

Semantic roles & 50–950 ramp

primary
#627F2B
secondary
#7658AE
accent
#4FD97F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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