#627417#627417

#627417 is a mid, moderate yellow-green. Relative luminance 0.151; OKLCH L 52.6% C 0.116 H 120.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#627417
RGBrgb(98, 116, 23)
HSLhsl(72, 67%, 27%)
HSVhsv(72, 80%, 45%)
CMYKcmyk(15.5%, 0%, 80.2%, 54.5%)
CIE-LABlab(45.84, -19.69, 45.34)
CIE-LCHlch(45.84, 49.43, 113.48°)
OKLaboklab(52.64% -0.0585 0.0997)
OKLCHoklch(52.64% 0.116 120.4)
XYZxyz(11.4373, 15.1493, 3.1320)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627417 #291774
analogous
#745817 #627417 #347417
triadic
#627417 #176274 #741762
tetradic
#627417 #177458 #291774 #741734
square
#627417 #177458 #291774 #741734
split-complementary
#627417 #173474 #581774
monochromatic
#161A05 #37410D #627417 #8DA721 #B6D630

Accessibility & contrast

On white

5.21
#627417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#627417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627417
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627417#FFFFFF#000000##FFFFFF
##6274171.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#686D63
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #627417;
/* rgb */ color: rgb(98, 116, 23);
/* oklch */ color: oklch(52.6% 0.116 120.4);
Tailwind
colors: {
  custom: {
    50: '#929c5d',
    500: '#627417',
    950: '#000000',
  },
}
SCSS
$custom: #627417;
$custom-light: #929c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#627417",
  "rgb": {
    "r": 98,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 71.613,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52637,
    "c": 0.11559,
    "h": 120.4
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#627417
secondary
#523DA9
accent
#3EEA5F
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627417

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

Preview Lab → · Contrast checker → · Palette generator →

#627417 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva