#627A1E#627A1E

#627A1E is a mid, moderate yellow-green. Relative luminance 0.166; OKLCH L 54.2% C 0.119 H 123.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#627A1E
RGBrgb(98, 122, 30)
HSLhsl(76, 61%, 30%)
HSVhsv(76, 75%, 48%)
CMYKcmyk(19.7%, 0%, 75.4%, 52.2%)
CIE-LABlab(47.76, -22.41, 44.64)
CIE-LCHlch(47.76, 49.95, 116.66°)
OKLaboklab(54.21% -0.0653 0.0995)
OKLCHoklch(54.21% 0.119 123.3)
XYZxyz(12.2310, 16.6094, 3.7896)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627A1E #361E7A
analogous
#7A641E #627A1E #347A1E
triadic
#627A1E #1E627A #7A1E62
tetradic
#627A1E #1E7A64 #361E7A #7A1E34
square
#627A1E #1E7A64 #361E7A #7A1E34
split-complementary
#627A1E #1E347A #641E7A
monochromatic
#141906 #3B4912 #627A1E #89AB2A #ABD042

Accessibility & contrast

On white

4.86
#627A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#627A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627A1E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627A1E#FFFFFF#000000##FFFFFF
##627A1E1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720C
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#677468
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #627a1e;
/* rgb */ color: rgb(98, 122, 30);
/* oklch */ color: oklch(54.2% 0.119 123.3);
Tailwind
colors: {
  custom: {
    50: '#92a061',
    500: '#627a1e',
    950: '#000000',
  },
}
SCSS
$custom: #627a1e;
$custom-light: #92a061;
$custom-dark: #000000;
JSON
{
  "hex": "#627a1e",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 75.652,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54206,
    "c": 0.11901,
    "h": 123.3
  },
  "luminance": 0.16609
}

Semantic roles & 50–950 ramp

primary
#627A1E
secondary
#6146AE
accent
#44E46E
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #627A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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