#627017#627017

#627017 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.6% C 0.111 H 118.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#627017
RGBrgb(98, 112, 23)
HSLhsl(69, 66%, 26%)
HSVhsv(69, 79%, 44%)
CMYKcmyk(12.5%, 0%, 79.5%, 56.1%)
CIE-LABlab(44.59, -17.58, 44.17)
CIE-LCHlch(44.59, 47.55, 111.70°)
OKLaboklab(51.63% -0.0527 0.0972)
OKLCHoklch(51.63% 0.111 118.5)
XYZxyz(10.9861, 14.2470, 2.9816)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627017 #251770
analogous
#705217 #627017 #367017
triadic
#627017 #176270 #701762
tetradic
#627017 #177052 #251770 #701736
square
#627017 #177052 #251770 #701736
split-complementary
#627017 #173670 #521770
monochromatic
#161905 #363D0D #627017 #8EA321 #BAD42D

Accessibility & contrast

On white

5.46
#627017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#627017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627017
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627017#FFFFFF#000000##FFFFFF
##6270171.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786902
Deuteranopia (green-blind)
#766A1F
Tritanopia (blue-blind)
#68695F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #627017;
/* rgb */ color: rgb(98, 112, 23);
/* oklch */ color: oklch(51.6% 0.111 118.5);
Tailwind
colors: {
  custom: {
    50: '#92995c',
    500: '#627017',
    950: '#000000',
  },
}
SCSS
$custom: #627017;
$custom-light: #92995c;
$custom-dark: #000000;
JSON
{
  "hex": "#627017",
  "rgb": {
    "r": 98,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 69.438,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51628,
    "c": 0.11059,
    "h": 118.5
  },
  "luminance": 0.14247
}

Semantic roles & 50–950 ramp

primary
#627017
secondary
#4E3DA6
accent
#3FE95A
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #627017

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

Preview Lab → · Contrast checker → · Palette generator →

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