#627210#627210

#627210 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.1% C 0.117 H 119.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#627210
RGBrgb(98, 114, 16)
HSLhsl(70, 75%, 25%)
HSVhsv(70, 86%, 45%)
CMYKcmyk(14%, 0%, 86%, 55.3%)
CIE-LABlab(45.18, -18.94, 46.91)
CIE-LCHlch(45.18, 50.59, 111.99°)
OKLaboklab(52.09% -0.057 0.1017)
OKLCHoklch(52.09% 0.117 119.2)
XYZxyz(11.1481, 14.6688, 2.7342)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627210 #201072
analogous
#725110 #627210 #317210
triadic
#627210 #106272 #721062
tetradic
#627210 #107251 #201072 #721031
square
#627210 #107251 #201072 #721031
split-complementary
#627210 #103172 #511072
monochromatic
#171B04 #343C08 #627210 #90A818 #BEDD1F

Accessibility & contrast

On white

5.34
#627210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#627210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627210
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627210#FFFFFF#000000##FFFFFF
##6272101.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#786B1B
Tritanopia (blue-blind)
#686B61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #627210;
/* rgb */ color: rgb(98, 114, 16);
/* oklch */ color: oklch(52.1% 0.117 119.2);
Tailwind
colors: {
  custom: {
    50: '#929a5a',
    500: '#627210',
    950: '#000000',
  },
}
SCSS
$custom: #627210;
$custom-light: #929a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#627210",
  "rgb": {
    "r": 98,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 69.796,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.52094,
    "c": 0.11662,
    "h": 119.2
  },
  "luminance": 0.14669
}

Semantic roles & 50–950 ramp

primary
#627210
secondary
#4734A9
accent
#36F255
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627210

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

Preview Lab → · Contrast checker → · Palette generator →

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