#657227#657227

#657227 is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.5% C 0.100 H 118.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#657227
RGBrgb(101, 114, 39)
HSLhsl(70, 49%, 30%)
HSVhsv(70, 66%, 45%)
CMYKcmyk(11.4%, 0%, 65.8%, 55.3%)
CIE-LABlab(45.56, -16.27, 38.65)
CIE-LCHlch(45.56, 41.93, 112.84°)
OKLaboklab(52.51% -0.0476 0.0883)
OKLCHoklch(52.51% 0.1 118.4)
XYZxyz(11.7506, 14.9479, 4.1853)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657227 #342772
analogous
#725A27 #657227 #3F7227
triadic
#657227 #276572 #722765
tetradic
#657227 #27725A #342772 #72273F
square
#657227 #27725A #342772 #72273F
split-complementary
#657227 #273F72 #5A2772
monochromatic
#141708 #3D4417 #657227 #8DA037 #AFC350

Accessibility & contrast

On white

5.26
#657227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#657227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #657227
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##657227#FFFFFF#000000##FFFFFF
##6572271.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C1E
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#6B6C62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #657227;
/* rgb */ color: rgb(101, 114, 39);
/* oklch */ color: oklch(52.5% 0.100 118.4);
Tailwind
colors: {
  custom: {
    50: '#939a65',
    500: '#657227',
    950: '#000000',
  },
}
SCSS
$custom: #657227;
$custom-light: #939a65;
$custom-dark: #000000;
JSON
{
  "hex": "#657227",
  "rgb": {
    "r": 101,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 70.4,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.52511,
    "c": 0.10029,
    "h": 118.4
  },
  "luminance": 0.14948
}

Semantic roles & 50–950 ramp

primary
#657227
secondary
#5F50A4
accent
#4FD967
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0E06
muted
#7E7E7A

Preview Lab

Preview with #657227

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

Preview Lab → · Contrast checker → · Palette generator →

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