#657918#657918

#657918 is a mid, moderate yellow-green. Relative luminance 0.165; OKLCH L 54.1% C 0.120 H 121.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#657918
RGBrgb(101, 121, 24)
HSLhsl(72, 67%, 28%)
HSVhsv(72, 80%, 47%)
CMYKcmyk(16.5%, 0%, 80.2%, 52.5%)
CIE-LABlab(47.63, -20.90, 46.74)
CIE-LCHlch(47.63, 51.20, 114.09°)
OKLaboklab(54.14% -0.0619 0.1027)
OKLCHoklch(54.14% 0.12 121.1)
XYZxyz(12.3693, 16.5074, 3.3986)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657918 #2C1879
analogous
#795C18 #657918 #347918
triadic
#657918 #186579 #791865
tetradic
#657918 #18795C #2C1879 #791834
square
#657918 #18795C #2C1879 #791834
split-complementary
#657918 #183479 #5C1879
monochromatic
#151A05 #3A460E #657918 #90AC22 #B5D735

Accessibility & contrast

On white

4.88
#657918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#657918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #657918
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##657918#FFFFFF#000000##FFFFFF
##6579181.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7E7121
Tritanopia (blue-blind)
#6B7267
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #657918;
/* rgb */ color: rgb(101, 121, 24);
/* oklch */ color: oklch(54.1% 0.120 121.1);
Tailwind
colors: {
  custom: {
    50: '#949f5e',
    500: '#657918',
    950: '#000000',
  },
}
SCSS
$custom: #657918;
$custom-light: #949f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#657918",
  "rgb": {
    "r": 101,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 72.371,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54144,
    "c": 0.11995,
    "h": 121.1
  },
  "luminance": 0.16507
}

Semantic roles & 50–950 ramp

primary
#657918
secondary
#563FAE
accent
#3EEA61
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #657918

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

Preview Lab → · Contrast checker → · Palette generator →

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