#627A2B#627A2B

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

Color values

HEX#627A2B
RGBrgb(98, 122, 43)
HSLhsl(78, 48%, 32%)
HSVhsv(78, 65%, 48%)
CMYKcmyk(19.7%, 0%, 64.8%, 52.2%)
CIE-LABlab(47.87, -21.48, 39.21)
CIE-LCHlch(47.87, 44.71, 118.71°)
OKLaboklab(54.32% -0.0615 0.0901)
OKLCHoklch(54.32% 0.109 124.3)
XYZxyz(12.4327, 16.6901, 4.8515)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627A2B #432B7A
analogous
#7A6B2B #627A2B #3A7A2B
triadic
#627A2B #2B627A #7A2B62
tetradic
#627A2B #2B7A6B #432B7A #7A2B3A
square
#627A2B #2B7A6B #432B7A #7A2B3A
split-complementary
#627A2B #2B3A7A #6B2B7A
monochromatic
#191F0B #3E4D1B #627A2B #86A73B #A5C55A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627A2B#FFFFFF#000000##FFFFFF
##627A2B1.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)
#817221
Deuteranopia (green-blind)
#7E7131
Tritanopia (blue-blind)
#667469
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627a2b;
/* rgb */ color: rgb(98, 122, 43);
/* oklch */ color: oklch(54.3% 0.109 124.3);
Tailwind
colors: {
  custom: {
    50: '#91a068',
    500: '#627a2b',
    950: '#000000',
  },
}
SCSS
$custom: #627a2b;
$custom-light: #91a068;
$custom-dark: #000000;
JSON
{
  "hex": "#627a2b",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 78.228,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54322,
    "c": 0.10908,
    "h": 124.3
  },
  "luminance": 0.1669
}

Semantic roles & 50–950 ramp

primary
#627A2B
secondary
#7056AB
accent
#50D779
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E06
muted
#7E7E7A

Preview Lab

Preview with #627A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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