#627C2A#627C2A

#627C2A is a mid, moderate yellow-green. Relative luminance 0.172; OKLCH L 54.8% C 0.113 H 125.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#627C2A
RGBrgb(98, 124, 42)
HSLhsl(79, 49%, 33%)
HSVhsv(79, 66%, 49%)
CMYKcmyk(21%, 0%, 66.1%, 51.4%)
CIE-LABlab(48.48, -22.58, 40.34)
CIE-LCHlch(48.48, 46.23, 119.24°)
OKLaboklab(54.82% -0.0647 0.0923)
OKLCHoklch(54.82% 0.113 125)
XYZxyz(12.6626, 17.1790, 4.8388)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627C2A #442A7C
analogous
#7C6D2A #627C2A #397C2A
triadic
#627C2A #2A627C #7C2A62
tetradic
#627C2A #2A7C6D #442A7C #7C2A39
square
#627C2A #2A7C6D #442A7C #7C2A39
split-complementary
#627C2A #2A397C #6D2A7C
monochromatic
#1A210B #3E4E1B #627C2A #86AA39 #A4C759

Accessibility & contrast

On white

4.73
#627C2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#627C2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627C2A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627C2A#FFFFFF#000000##FFFFFF
##627C2A1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837420
Deuteranopia (green-blind)
#7F7330
Tritanopia (blue-blind)
#66766B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #627c2a;
/* rgb */ color: rgb(98, 124, 42);
/* oklch */ color: oklch(54.8% 0.113 125.0);
Tailwind
colors: {
  custom: {
    50: '#91a268',
    500: '#627c2a',
    950: '#000000',
  },
}
SCSS
$custom: #627c2a;
$custom-light: #91a268;
$custom-dark: #000000;
JSON
{
  "hex": "#627c2a",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 79.024,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54818,
    "c": 0.11272,
    "h": 125
  },
  "luminance": 0.17179
}

Semantic roles & 50–950 ramp

primary
#627C2A
secondary
#7155AD
accent
#4FD97B
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F06
muted
#7E7E7A

Preview Lab

Preview with #627C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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