#657C12#657C12

#657C12 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.9% C 0.127 H 122.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#657C12
RGBrgb(101, 124, 18)
HSLhsl(73, 75%, 28%)
HSVhsv(73, 85%, 49%)
CMYKcmyk(18.5%, 0%, 85.5%, 51.4%)
CIE-LABlab(48.54, -22.69, 49.38)
CIE-LCHlch(48.54, 54.34, 114.68°)
OKLaboklab(54.87% -0.0672 0.1073)
OKLCHoklch(54.87% 0.127 122.1)
XYZxyz(12.6839, 17.2256, 3.2288)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657C12 #29127C
analogous
#7C5E12 #657C12 #307C12
triadic
#657C12 #12657C #7C1265
tetradic
#657C12 #127C5E #29127C #7C1230
square
#657C12 #127C5E #29127C #7C1230
split-complementary
#657C12 #12307C #5E127C
monochromatic
#161B04 #39470A #657C12 #91B11A #B8E029

Accessibility & contrast

On white

4.72
#657C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#657C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #657C12
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##657C12#FFFFFF#000000##FFFFFF
##657C121.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#6B7569
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #657c12;
/* rgb */ color: rgb(101, 124, 18);
/* oklch */ color: oklch(54.9% 0.127 122.1);
Tailwind
colors: {
  custom: {
    50: '#94a25c',
    500: '#657c12',
    950: '#000000',
  },
}
SCSS
$custom: #657c12;
$custom-light: #94a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#657c12",
  "rgb": {
    "r": 101,
    "g": 124,
    "b": 18
  },
  "hsl": {
    "h": 73.019,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5487,
    "c": 0.12661,
    "h": 122.1
  },
  "luminance": 0.17226
}

Semantic roles & 50–950 ramp

primary
#657C12
secondary
#5238B2
accent
#37F15F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F04
muted
#7E7E79

Preview Lab

Preview with #657C12

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

Preview Lab → · Contrast checker → · Palette generator →

#657C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva