#657B12#657B12

#657B12 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.6% C 0.125 H 121.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#657B12
RGBrgb(101, 123, 18)
HSLhsl(73, 74%, 28%)
HSVhsv(73, 85%, 48%)
CMYKcmyk(17.9%, 0%, 85.4%, 51.8%)
CIE-LABlab(48.23, -22.18, 49.10)
CIE-LCHlch(48.23, 53.88, 114.31°)
OKLaboklab(54.62% -0.0659 0.1067)
OKLCHoklch(54.62% 0.125 121.7)
XYZxyz(12.5592, 16.9763, 3.1873)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657B12 #28127B
analogous
#7B5C12 #657B12 #317B12
triadic
#657B12 #12657B #7B1265
tetradic
#657B12 #127B5C #28127B #7B1231
square
#657B12 #127B5C #28127B #7B1231
split-complementary
#657B12 #12317B #5C127B
monochromatic
#161B04 #39460A #657B12 #91B01A #B9E028

Accessibility & contrast

On white

4.78
#657B12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#657B12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #657B12
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##657B12#FFFFFF#000000##FFFFFF
##657B121.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#80731E
Tritanopia (blue-blind)
#6B7468
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #657b12;
/* rgb */ color: rgb(101, 123, 18);
/* oklch */ color: oklch(54.6% 0.125 121.7);
Tailwind
colors: {
  custom: {
    50: '#94a15c',
    500: '#657b12',
    950: '#000000',
  },
}
SCSS
$custom: #657b12;
$custom-light: #94a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#657b12",
  "rgb": {
    "r": 101,
    "g": 123,
    "b": 18
  },
  "hsl": {
    "h": 72.571,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.54617,
    "c": 0.12538,
    "h": 121.7
  },
  "luminance": 0.16976
}

Semantic roles & 50–950 ramp

primary
#657B12
secondary
#5138B1
accent
#37F15E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #657B12

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

Preview Lab → · Contrast checker → · Palette generator →

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