#657218#657218

#657218 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.4% C 0.111 H 117.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#657218
RGBrgb(101, 114, 24)
HSLhsl(69, 65%, 27%)
HSVhsv(69, 79%, 45%)
CMYKcmyk(11.4%, 0%, 78.9%, 55.3%)
CIE-LABlab(45.45, -17.23, 44.72)
CIE-LCHlch(45.45, 47.92, 111.07°)
OKLaboklab(52.39% -0.0518 0.0985)
OKLCHoklch(52.39% 0.111 117.7)
XYZxyz(11.5493, 14.8674, 3.1253)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657218 #251872
analogous
#725218 #657218 #387218
triadic
#657218 #186572 #721865
tetradic
#657218 #187252 #251872 #721838
square
#657218 #187252 #251872 #721838
split-complementary
#657218 #183872 #521872
monochromatic
#161905 #383F0D #657218 #92A523 #BCD431

Accessibility & contrast

On white

5.29
#657218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#657218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #657218
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##657218#FFFFFF#000000##FFFFFF
##6572181.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#6C6B61
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #657218;
/* rgb */ color: rgb(101, 114, 24);
/* oklch */ color: oklch(52.4% 0.111 117.7);
Tailwind
colors: {
  custom: {
    50: '#949a5d',
    500: '#657218',
    950: '#000000',
  },
}
SCSS
$custom: #657218;
$custom-light: #949a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#657218",
  "rgb": {
    "r": 101,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 68.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.52387,
    "c": 0.11125,
    "h": 117.7
  },
  "luminance": 0.14867
}

Semantic roles & 50–950 ramp

primary
#657218
secondary
#4E3EA7
accent
#40E858
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #657218

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

Preview Lab → · Contrast checker → · Palette generator →

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