#627412#627412

#627412 is a mid, moderate yellow-green. Relative luminance 0.151; OKLCH L 52.6% C 0.118 H 120.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#627412
RGBrgb(98, 116, 18)
HSLhsl(71, 73%, 26%)
HSVhsv(71, 84%, 45%)
CMYKcmyk(15.5%, 0%, 84.5%, 54.5%)
CIE-LABlab(45.81, -19.92, 46.90)
CIE-LCHlch(45.81, 50.95, 113.01°)
OKLaboklab(52.61% -0.0595 0.1021)
OKLCHoklch(52.61% 0.118 120.2)
XYZxyz(11.3918, 15.1312, 2.8926)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627412 #241274
analogous
#745512 #627412 #317412
triadic
#627412 #126274 #741262
tetradic
#627412 #127455 #241274 #741231
square
#627412 #127455 #241274 #741231
split-complementary
#627412 #123174 #551274
monochromatic
#161A04 #353F0A #627412 #8FA91A #BBDD23

Accessibility & contrast

On white

5.22
#627412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#627412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627412
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627412#FFFFFF#000000##FFFFFF
##6274121.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7A6D1C
Tritanopia (blue-blind)
#686D62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #627412;
/* rgb */ color: rgb(98, 116, 18);
/* oklch */ color: oklch(52.6% 0.118 120.2);
Tailwind
colors: {
  custom: {
    50: '#929c5b',
    500: '#627412',
    950: '#000000',
  },
}
SCSS
$custom: #627412;
$custom-light: #929c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#627412",
  "rgb": {
    "r": 98,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 71.02,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.5261,
    "c": 0.11816,
    "h": 120.2
  },
  "luminance": 0.15131
}

Semantic roles & 50–950 ramp

primary
#627412
secondary
#4C37AB
accent
#38F05A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627412

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

Preview Lab → · Contrast checker → · Palette generator →

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