#657018#657018

#657018 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 51.9% C 0.109 H 116.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#657018
RGBrgb(101, 112, 24)
HSLhsl(68, 65%, 27%)
HSVhsv(68, 79%, 44%)
CMYKcmyk(9.8%, 0%, 78.6%, 56.1%)
CIE-LABlab(44.83, -16.15, 44.13)
CIE-LCHlch(44.83, 47.00, 110.10°)
OKLaboklab(51.89% -0.0488 0.0972)
OKLCHoklch(51.89% 0.109 116.7)
XYZxyz(11.3262, 14.4211, 3.0509)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657018 #231870
analogous
#704F18 #657018 #397018
triadic
#657018 #186570 #701865
tetradic
#657018 #18704F #231870 #701839
square
#657018 #18704F #231870 #701839
split-complementary
#657018 #183970 #4F1870
monochromatic
#171905 #383E0D #657018 #92A223 #BED330

Accessibility & contrast

On white

5.41
#657018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#657018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #657018
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##657018#FFFFFF#000000##FFFFFF
##6570181.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A04
Deuteranopia (green-blind)
#776B20
Tritanopia (blue-blind)
#6C695F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #657018;
/* rgb */ color: rgb(101, 112, 24);
/* oklch */ color: oklch(51.9% 0.109 116.7);
Tailwind
colors: {
  custom: {
    50: '#94995d',
    500: '#657018',
    950: '#000000',
  },
}
SCSS
$custom: #657018;
$custom-light: #94995d;
$custom-dark: #000000;
JSON
{
  "hex": "#657018",
  "rgb": {
    "r": 101,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 67.5,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51888,
    "c": 0.10881,
    "h": 116.7
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#657018
secondary
#4B3EA5
accent
#40E855
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #657018

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

Preview Lab → · Contrast checker → · Palette generator →

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