#657F12#657F12

#657F12 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.6% C 0.130 H 123.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#657F12
RGBrgb(101, 127, 18)
HSLhsl(74, 75%, 28%)
HSVhsv(74, 86%, 50%)
CMYKcmyk(20.5%, 0%, 85.8%, 50.2%)
CIE-LABlab(49.48, -24.21, 50.19)
CIE-LCHlch(49.48, 55.73, 115.75°)
OKLaboklab(55.63% -0.0714 0.109)
OKLCHoklch(55.63% 0.13 123.2)
XYZxyz(13.0656, 17.9890, 3.3560)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657F12 #2C127F
analogous
#7F6212 #657F12 #2E7F12
triadic
#657F12 #12657F #7F1265
tetradic
#657F12 #127F62 #2C127F #7F122E
square
#657F12 #127F62 #2C127F #7F122E
split-complementary
#657F12 #122E7F #62127F
monochromatic
#151B04 #3A490A #657F12 #90B51A #B5E12B

Accessibility & contrast

On white

4.57
#657F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#657F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #657F12
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##657F12#FFFFFF#000000##000000
##657F121.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#84751F
Tritanopia (blue-blind)
#6B786C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #657f12;
/* rgb */ color: rgb(101, 127, 18);
/* oklch */ color: oklch(55.6% 0.130 123.2);
Tailwind
colors: {
  custom: {
    50: '#94a45c',
    500: '#657f12',
    950: '#000000',
  },
}
SCSS
$custom: #657f12;
$custom-light: #94a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#657f12",
  "rgb": {
    "r": 101,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 74.312,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5563,
    "c": 0.1303,
    "h": 123.2
  },
  "luminance": 0.17989
}

Semantic roles & 50–950 ramp

primary
#657F12
secondary
#5638B5
accent
#36F263
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #657F12

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

Preview Lab → · Contrast checker → · Palette generator →

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