#627311#627311

#627311 is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.4% C 0.117 H 119.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#627311
RGBrgb(98, 115, 17)
HSLhsl(70, 74%, 26%)
HSVhsv(70, 85%, 45%)
CMYKcmyk(14.8%, 0%, 85.2%, 54.9%)
CIE-LABlab(45.50, -19.43, 46.91)
CIE-LCHlch(45.50, 50.77, 112.50°)
OKLaboklab(52.35% -0.0582 0.1019)
OKLCHoklch(52.35% 0.117 119.7)
XYZxyz(11.2692, 14.8987, 2.8123)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627311 #221173
analogous
#735311 #627311 #317311
triadic
#627311 #116273 #731162
tetradic
#627311 #117353 #221173 #731131
square
#627311 #117353 #221173 #731131
split-complementary
#627311 #113173 #531173
monochromatic
#171B04 #353E09 #627311 #8FA819 #BDDE21

Accessibility & contrast

On white

5.28
#627311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#627311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627311
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627311#FFFFFF#000000##FFFFFF
##6273111.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#796C1C
Tritanopia (blue-blind)
#686C61
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #627311;
/* rgb */ color: rgb(98, 115, 17);
/* oklch */ color: oklch(52.4% 0.117 119.7);
Tailwind
colors: {
  custom: {
    50: '#929b5a',
    500: '#627311',
    950: '#000000',
  },
}
SCSS
$custom: #627311;
$custom-light: #929b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#627311",
  "rgb": {
    "r": 98,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 70.408,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.52352,
    "c": 0.1174,
    "h": 119.7
  },
  "luminance": 0.14899
}

Semantic roles & 50–950 ramp

primary
#627311
secondary
#4A36AA
accent
#37F157
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627311

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

Preview Lab → · Contrast checker → · Palette generator →

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