#627215#627215

#627215 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.1% C 0.114 H 119.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#627215
RGBrgb(98, 114, 21)
HSLhsl(70, 69%, 26%)
HSVhsv(70, 82%, 45%)
CMYKcmyk(14%, 0%, 81.6%, 55.3%)
CIE-LABlab(45.20, -18.74, 45.42)
CIE-LCHlch(45.20, 49.13, 112.42°)
OKLaboklab(52.12% -0.056 0.0995)
OKLCHoklch(52.12% 0.114 119.4)
XYZxyz(11.1899, 14.6855, 2.9544)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627215 #251572
analogous
#725415 #627215 #347215
triadic
#627215 #156272 #721562
tetradic
#627215 #157254 #251572 #721534
square
#627215 #157254 #251572 #721534
split-complementary
#627215 #153472 #541572
monochromatic
#161A05 #363E0B #627215 #8EA61F #BAD82A

Accessibility & contrast

On white

5.33
#627215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#627215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627215
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627215#FFFFFF#000000##FFFFFF
##6272151.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#786B1E
Tritanopia (blue-blind)
#686B61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #627215;
/* rgb */ color: rgb(98, 114, 21);
/* oklch */ color: oklch(52.1% 0.114 119.4);
Tailwind
colors: {
  custom: {
    50: '#929a5c',
    500: '#627215',
    950: '#000000',
  },
}
SCSS
$custom: #627215;
$custom-light: #929a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#627215",
  "rgb": {
    "r": 98,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 70.323,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.5212,
    "c": 0.11419,
    "h": 119.4
  },
  "luminance": 0.14685
}

Semantic roles & 50–950 ramp

primary
#627215
secondary
#4E3BA8
accent
#3CEC5A
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627215

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

Preview Lab → · Contrast checker → · Palette generator →

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