#627F26#627F26

#627F26 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.120 H 125.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#627F26
RGBrgb(98, 127, 38)
HSLhsl(80, 54%, 32%)
HSVhsv(80, 70%, 50%)
CMYKcmyk(22.8%, 0%, 70.1%, 50.2%)
CIE-LABlab(49.39, -24.41, 43.05)
CIE-LCHlch(49.39, 49.49, 119.55°)
OKLaboklab(55.54% -0.0701 0.0975)
OKLCHoklch(55.54% 0.12 125.7)
XYZxyz(12.9763, 17.9152, 4.6077)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F26 #43267F
analogous
#7F7026 #627F26 #357F26
triadic
#627F26 #26627F #7F2662
tetradic
#627F26 #267F70 #43267F #7F2635
square
#627F26 #267F70 #43267F #7F2635
split-complementary
#627F26 #26357F #70267F
monochromatic
#19210A #3E5018 #627F26 #86AE34 #A5CC54

Accessibility & contrast

On white

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

On black

4.58
#627F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627F26
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627F26#FFFFFF#000000##000000
##627F261.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867619
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#66796D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627f26;
/* rgb */ color: rgb(98, 127, 38);
/* oklch */ color: oklch(55.5% 0.120 125.7);
Tailwind
colors: {
  custom: {
    50: '#91a466',
    500: '#627f26',
    950: '#000000',
  },
}
SCSS
$custom: #627f26;
$custom-light: #91a466;
$custom-dark: #000000;
JSON
{
  "hex": "#627f26",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 79.551,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55542,
    "c": 0.12003,
    "h": 125.7
  },
  "luminance": 0.17915
}

Semantic roles & 50–950 ramp

primary
#627F26
secondary
#7051B0
accent
#4ADD7A
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627F26

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

Preview Lab → · Contrast checker → · Palette generator →

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