#627310#627310

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

Color values

HEX#627310
RGBrgb(98, 115, 16)
HSLhsl(70, 76%, 26%)
HSVhsv(70, 86%, 45%)
CMYKcmyk(14.8%, 0%, 86.1%, 54.9%)
CIE-LABlab(45.49, -19.47, 47.18)
CIE-LCHlch(45.49, 51.04, 112.42°)
OKLaboklab(52.35% -0.0584 0.1023)
OKLCHoklch(52.35% 0.118 119.7)
XYZxyz(11.2615, 14.8956, 2.7720)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627310 #211073
analogous
#735210 #627310 #307310
triadic
#627310 #106273 #731062
tetradic
#627310 #107352 #211073 #731030
square
#627310 #107352 #211073 #731030
split-complementary
#627310 #103073 #521073
monochromatic
#171B04 #343D09 #627310 #90A917 #BEDE1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627310#FFFFFF#000000##FFFFFF
##6273101.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)
#796C1B
Tritanopia (blue-blind)
#686C61
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #627310;
/* rgb */ color: rgb(98, 115, 16);
/* oklch */ color: oklch(52.3% 0.118 119.7);
Tailwind
colors: {
  custom: {
    50: '#929b5a',
    500: '#627310',
    950: '#000000',
  },
}
SCSS
$custom: #627310;
$custom-light: #929b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#627310",
  "rgb": {
    "r": 98,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 70.303,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.52347,
    "c": 0.11784,
    "h": 119.7
  },
  "luminance": 0.14896
}

Semantic roles & 50–950 ramp

primary
#627310
secondary
#4934AA
accent
#36F256
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627310

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

Preview Lab → · Contrast checker → · Palette generator →

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