#627211#627211

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

Color values

HEX#627211
RGBrgb(98, 114, 17)
HSLhsl(70, 74%, 26%)
HSVhsv(70, 85%, 45%)
CMYKcmyk(14%, 0%, 85.1%, 55.3%)
CIE-LABlab(45.18, -18.91, 46.63)
CIE-LCHlch(45.18, 50.32, 112.07°)
OKLaboklab(52.1% -0.0568 0.1013)
OKLCHoklch(52.1% 0.116 119.3)
XYZxyz(11.1557, 14.6718, 2.7745)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627211 #211172
analogous
#725111 #627211 #317211
triadic
#627211 #116272 #721162
tetradic
#627211 #117251 #211172 #721131
square
#627211 #117251 #211172 #721131
split-complementary
#627211 #113172 #511172
monochromatic
#171B04 #343D09 #627211 #90A719 #BEDD21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627211#FFFFFF#000000##FFFFFF
##6272111.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: #627211;
/* rgb */ color: rgb(98, 114, 17);
/* oklch */ color: oklch(52.1% 0.116 119.3);
Tailwind
colors: {
  custom: {
    50: '#929a5a',
    500: '#627211',
    950: '#000000',
  },
}
SCSS
$custom: #627211;
$custom-light: #929a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#627211",
  "rgb": {
    "r": 98,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 69.897,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.52099,
    "c": 0.11618,
    "h": 119.3
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

primary
#627211
secondary
#4936A9
accent
#37F156
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627211

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

Preview Lab → · Contrast checker → · Palette generator →

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