#627815#627815

#627815 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.6% C 0.122 H 122.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#627815
RGBrgb(98, 120, 21)
HSLhsl(73, 70%, 28%)
HSVhsv(73, 83%, 47%)
CMYKcmyk(18.3%, 0%, 82.5%, 52.9%)
CIE-LABlab(47.08, -21.86, 47.13)
CIE-LCHlch(47.08, 51.95, 114.88°)
OKLaboklab(53.64% -0.0646 0.1031)
OKLCHoklch(53.64% 0.122 122.1)
XYZxyz(11.8890, 16.0837, 3.1875)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627815 #2B1578
analogous
#785C15 #627815 #317815
triadic
#627815 #156278 #781562
tetradic
#627815 #15785C #2B1578 #781531
square
#627815 #15785C #2B1578 #781531
split-complementary
#627815 #153178 #5C1578
monochromatic
#151A05 #37440C #627815 #8DAC1E #B4DA2D

Accessibility & contrast

On white

4.98
#627815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#627815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627815
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627815#FFFFFF#000000##FFFFFF
##6278151.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#7D701F
Tritanopia (blue-blind)
#687166
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #627815;
/* rgb */ color: rgb(98, 120, 21);
/* oklch */ color: oklch(53.6% 0.122 122.1);
Tailwind
colors: {
  custom: {
    50: '#929f5c',
    500: '#627815',
    950: '#000000',
  },
}
SCSS
$custom: #627815;
$custom-light: #929f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#627815",
  "rgb": {
    "r": 98,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 73.333,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5364,
    "c": 0.12166,
    "h": 122.1
  },
  "luminance": 0.16084
}

Semantic roles & 50–950 ramp

primary
#627815
secondary
#553BAE
accent
#3BED62
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627815

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

Preview Lab → · Contrast checker → · Palette generator →

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