#627313#627313

#627313 is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.4% C 0.116 H 119.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#627313
RGBrgb(98, 115, 19)
HSLhsl(71, 72%, 26%)
HSVhsv(71, 83%, 45%)
CMYKcmyk(14.8%, 0%, 83.5%, 54.9%)
CIE-LABlab(45.50, -19.35, 46.32)
CIE-LCHlch(45.50, 50.20, 112.67°)
OKLaboklab(52.36% -0.0579 0.1011)
OKLCHoklch(52.36% 0.116 119.8)
XYZxyz(11.2855, 14.9052, 2.8984)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627313 #241373
analogous
#735413 #627313 #327313
triadic
#627313 #136273 #731362
tetradic
#627313 #137354 #241373 #731332
square
#627313 #137354 #241373 #731332
split-complementary
#627313 #133273 #541373
monochromatic
#161A04 #353E0A #627313 #8FA81C #BBDB25

Accessibility & contrast

On white

5.28
#627313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#627313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627313
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627313#FFFFFF#000000##FFFFFF
##6273131.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#796C1D
Tritanopia (blue-blind)
#686C62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #627313;
/* rgb */ color: rgb(98, 115, 19);
/* oklch */ color: oklch(52.4% 0.116 119.8);
Tailwind
colors: {
  custom: {
    50: '#929b5b',
    500: '#627313',
    950: '#000000',
  },
}
SCSS
$custom: #627313;
$custom-light: #929b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#627313",
  "rgb": {
    "r": 98,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 70.625,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52362,
    "c": 0.11645,
    "h": 119.8
  },
  "luminance": 0.14905
}

Semantic roles & 50–950 ramp

primary
#627313
secondary
#4C38AA
accent
#39EE59
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627313

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

Preview Lab → · Contrast checker → · Palette generator →

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