#627318#627318

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

Color values

HEX#627318
RGBrgb(98, 115, 24)
HSLhsl(71, 65%, 27%)
HSVhsv(71, 79%, 45%)
CMYKcmyk(14.8%, 0%, 79.1%, 54.9%)
CIE-LABlab(45.53, -19.12, 44.70)
CIE-LCHlch(45.53, 48.62, 113.16°)
OKLaboklab(52.39% -0.0568 0.0985)
OKLCHoklch(52.39% 0.114 120)
XYZxyz(11.3328, 14.9241, 3.1476)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627318 #291873
analogous
#735718 #627318 #347318
triadic
#627318 #186273 #731862
tetradic
#627318 #187357 #291873 #731834
square
#627318 #187357 #291873 #731834
split-complementary
#627318 #183473 #571873
monochromatic
#161905 #37400D #627318 #8DA623 #B6D431

Accessibility & contrast

On white

5.27
#627318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #627318
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627318#FFFFFF#000000##FFFFFF
##6273181.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #627318;
/* rgb */ color: rgb(98, 115, 24);
/* oklch */ color: oklch(52.4% 0.114 120.0);
Tailwind
colors: {
  custom: {
    50: '#929b5d',
    500: '#627318',
    950: '#000000',
  },
}
SCSS
$custom: #627318;
$custom-light: #929b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#627318",
  "rgb": {
    "r": 98,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 71.209,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52391,
    "c": 0.11375,
    "h": 120
  },
  "luminance": 0.14924
}

Semantic roles & 50–950 ramp

primary
#627318
secondary
#523FA8
accent
#3FE85F
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #627318

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

Preview Lab → · Contrast checker → · Palette generator →

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