#657418#657418

#657418 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 52.9% C 0.114 H 118.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#657418
RGBrgb(101, 116, 24)
HSLhsl(70, 66%, 27%)
HSVhsv(70, 79%, 45%)
CMYKcmyk(12.9%, 0%, 79.3%, 54.5%)
CIE-LABlab(46.07, -18.29, 45.30)
CIE-LCHlch(46.07, 48.85, 111.99°)
OKLaboklab(52.89% -0.0547 0.0997)
OKLCHoklch(52.89% 0.114 118.8)
XYZxyz(11.7773, 15.3235, 3.2013)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657418 #271874
analogous
#745518 #657418 #377418
triadic
#657418 #186574 #741865
tetradic
#657418 #187455 #271874 #741837
square
#657418 #187455 #271874 #741837
split-complementary
#657418 #183774 #551874
monochromatic
#161905 #39410E #657418 #91A722 #BAD532

Accessibility & contrast

On white

5.17
#657418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#657418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #657418
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##657418#FFFFFF#000000##FFFFFF
##6574181.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D02
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#6B6D63
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #657418;
/* rgb */ color: rgb(101, 116, 24);
/* oklch */ color: oklch(52.9% 0.114 118.8);
Tailwind
colors: {
  custom: {
    50: '#949c5d',
    500: '#657418',
    950: '#000000',
  },
}
SCSS
$custom: #657418;
$custom-light: #949c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#657418",
  "rgb": {
    "r": 101,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 69.783,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52888,
    "c": 0.11371,
    "h": 118.8
  },
  "luminance": 0.15323
}

Semantic roles & 50–950 ramp

primary
#657418
secondary
#503FA9
accent
#3FE95B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #657418

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

Preview Lab → · Contrast checker → · Palette generator →

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