#627B26#627B26

#627B26 is a mid, moderate yellow-green. Relative luminance 0.169; OKLCH L 54.5% C 0.115 H 124.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#627B26
RGBrgb(98, 123, 38)
HSLhsl(78, 53%, 32%)
HSVhsv(78, 69%, 48%)
CMYKcmyk(20.3%, 0%, 69.1%, 51.8%)
CIE-LABlab(48.14, -22.39, 41.75)
CIE-LCHlch(48.14, 47.37, 118.20°)
OKLaboklab(54.53% -0.0645 0.0947)
OKLCHoklch(54.53% 0.115 124.3)
XYZxyz(12.4699, 16.9024, 4.4389)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627B26 #3F267B
analogous
#7B6A26 #627B26 #387B26
triadic
#627B26 #26627B #7B2662
tetradic
#627B26 #267B6A #3F267B #7B2638
square
#627B26 #267B6A #3F267B #7B2638
split-complementary
#627B26 #26387B #6A267B
monochromatic
#171D09 #3D4C18 #627B26 #87AA34 #A6CA52

Accessibility & contrast

On white

4.79
#627B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#627B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627B26
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627B26#FFFFFF#000000##FFFFFF
##627B261.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731A
Deuteranopia (green-blind)
#7F722D
Tritanopia (blue-blind)
#67756A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627b26;
/* rgb */ color: rgb(98, 123, 38);
/* oklch */ color: oklch(54.5% 0.115 124.3);
Tailwind
colors: {
  custom: {
    50: '#91a165',
    500: '#627b26',
    950: '#000000',
  },
}
SCSS
$custom: #627b26;
$custom-light: #91a165;
$custom-dark: #000000;
JSON
{
  "hex": "#627b26",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 77.647,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54526,
    "c": 0.11459,
    "h": 124.3
  },
  "luminance": 0.16903
}

Semantic roles & 50–950 ramp

primary
#627B26
secondary
#6B50AD
accent
#4CDC76
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F06
muted
#7E7E7A

Preview Lab

Preview with #627B26

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

Preview Lab → · Contrast checker → · Palette generator →

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