#627111#627111

#627111 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 51.8% C 0.115 H 118.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#627111
RGBrgb(98, 113, 17)
HSLhsl(69, 74%, 25%)
HSVhsv(69, 85%, 44%)
CMYKcmyk(13.3%, 0%, 85%, 55.7%)
CIE-LABlab(44.87, -18.38, 46.36)
CIE-LCHlch(44.87, 49.87, 111.63°)
OKLaboklab(51.85% -0.0554 0.1008)
OKLCHoklch(51.85% 0.115 118.8)
XYZxyz(11.0436, 14.4475, 2.7371)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627111 #201171
analogous
#715011 #627111 #327111
triadic
#627111 #116271 #711162
tetradic
#627111 #117150 #201171 #711132
square
#627111 #117150 #201171 #711132
split-complementary
#627111 #113271 #501171
monochromatic
#171B04 #343C09 #627111 #90A619 #BEDB21

Accessibility & contrast

On white

5.40
#627111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#627111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627111
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627111#FFFFFF#000000##FFFFFF
##6271111.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#776A1B
Tritanopia (blue-blind)
#686A60
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #627111;
/* rgb */ color: rgb(98, 113, 17);
/* oklch */ color: oklch(51.8% 0.115 118.8);
Tailwind
colors: {
  custom: {
    50: '#92995a',
    500: '#627111',
    950: '#000000',
  },
}
SCSS
$custom: #627111;
$custom-light: #92995a;
$custom-dark: #000000;
JSON
{
  "hex": "#627111",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 69.375,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.51846,
    "c": 0.11496,
    "h": 118.8
  },
  "luminance": 0.14447
}

Semantic roles & 50–950 ramp

primary
#627111
secondary
#4736A8
accent
#37F154
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627111

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

Preview Lab → · Contrast checker → · Palette generator →

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