#657318#657318

#657318 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 52.6% C 0.112 H 118.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#657318
RGBrgb(101, 115, 24)
HSLhsl(69, 65%, 27%)
HSVhsv(69, 79%, 45%)
CMYKcmyk(12.2%, 0%, 79.1%, 54.9%)
CIE-LABlab(45.76, -17.76, 45.01)
CIE-LCHlch(45.76, 48.38, 111.53°)
OKLaboklab(52.64% -0.0533 0.0991)
OKLCHoklch(52.64% 0.112 118.3)
XYZxyz(11.6627, 15.0942, 3.1631)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657318 #261873
analogous
#735418 #657318 #377318
triadic
#657318 #186573 #731865
tetradic
#657318 #187354 #261873 #731837
square
#657318 #187354 #261873 #731837
split-complementary
#657318 #183773 #541873
monochromatic
#161905 #39400D #657318 #91A623 #BBD431

Accessibility & contrast

On white

5.23
#657318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#657318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #657318
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##657318#FFFFFF#000000##FFFFFF
##6573181.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C03
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#6C6C62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #657318;
/* rgb */ color: rgb(101, 115, 24);
/* oklch */ color: oklch(52.6% 0.112 118.3);
Tailwind
colors: {
  custom: {
    50: '#949b5d',
    500: '#657318',
    950: '#000000',
  },
}
SCSS
$custom: #657318;
$custom-light: #949b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#657318",
  "rgb": {
    "r": 101,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 69.231,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52637,
    "c": 0.11248,
    "h": 118.3
  },
  "luminance": 0.15094
}

Semantic roles & 50–950 ramp

primary
#657318
secondary
#4F3FA8
accent
#3FE859
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #657318

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

Preview Lab → · Contrast checker → · Palette generator →

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