#627312#627312

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

Color values

HEX#627312
RGBrgb(98, 115, 18)
HSLhsl(71, 73%, 26%)
HSVhsv(71, 84%, 45%)
CMYKcmyk(14.8%, 0%, 84.3%, 54.9%)
CIE-LABlab(45.50, -19.39, 46.62)
CIE-LCHlch(45.50, 50.49, 112.59°)
OKLaboklab(52.36% -0.0581 0.1015)
OKLCHoklch(52.36% 0.117 119.8)
XYZxyz(11.2772, 14.9019, 2.8544)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627312 #231273
analogous
#735312 #627312 #327312
triadic
#627312 #126273 #731262
tetradic
#627312 #127353 #231273 #731232
square
#627312 #127353 #231273 #731232
split-complementary
#627312 #123273 #531273
monochromatic
#171A04 #353E0A #627312 #8FA81A #BCDD23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627312#FFFFFF#000000##FFFFFF
##6273121.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)
#796C1C
Tritanopia (blue-blind)
#686C62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #627312;
/* rgb */ color: rgb(98, 115, 18);
/* oklch */ color: oklch(52.4% 0.117 119.8);
Tailwind
colors: {
  custom: {
    50: '#929b5a',
    500: '#627312',
    950: '#000000',
  },
}
SCSS
$custom: #627312;
$custom-light: #929b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#627312",
  "rgb": {
    "r": 98,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 70.515,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52357,
    "c": 0.11692,
    "h": 119.8
  },
  "luminance": 0.14902
}

Semantic roles & 50–950 ramp

primary
#627312
secondary
#4B37AA
accent
#38F058
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627312

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

Preview Lab → · Contrast checker → · Palette generator →

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