#627A2D#627A2D

#627A2D is a mid, moderate yellow-green. Relative luminance 0.167; OKLCH L 54.3% C 0.107 H 124.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#627A2D
RGBrgb(98, 122, 45)
HSLhsl(79, 46%, 33%)
HSVhsv(79, 63%, 48%)
CMYKcmyk(19.7%, 0%, 63.1%, 52.2%)
CIE-LABlab(47.89, -21.30, 38.29)
CIE-LCHlch(47.89, 43.82, 119.09°)
OKLaboklab(54.34% -0.0608 0.0884)
OKLCHoklch(54.34% 0.107 124.5)
XYZxyz(12.4703, 16.7051, 5.0495)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627A2D #452D7A
analogous
#7A6B2D #627A2D #3C7A2D
triadic
#627A2D #2D627A #7A2D62
tetradic
#627A2D #2D7A6B #452D7A #7A2D3C
square
#627A2D #2D7A6B #452D7A #7A2D3C
split-complementary
#627A2D #2D3C7A #6B2D7A
monochromatic
#1A210C #3E4D1D #627A2D #86A73D #A4C45E

Accessibility & contrast

On white

4.84
#627A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#627A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627A2D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627A2D#FFFFFF#000000##FFFFFF
##627A2D1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817224
Deuteranopia (green-blind)
#7D7132
Tritanopia (blue-blind)
#66746A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627a2d;
/* rgb */ color: rgb(98, 122, 45);
/* oklch */ color: oklch(54.3% 0.107 124.5);
Tailwind
colors: {
  custom: {
    50: '#91a069',
    500: '#627a2d',
    950: '#000000',
  },
}
SCSS
$custom: #627a2d;
$custom-light: #91a069;
$custom-dark: #000000;
JSON
{
  "hex": "#627a2d",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 78.701,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54344,
    "c": 0.1073,
    "h": 124.5
  },
  "luminance": 0.16705
}

Semantic roles & 50–950 ramp

primary
#627A2D
secondary
#7259AA
accent
#52D67B
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E06
muted
#7E7E7A

Preview Lab

Preview with #627A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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