#656F18#656F18

#656F18 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.6% C 0.108 H 116.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#656F18
RGBrgb(101, 111, 24)
HSLhsl(67, 64%, 26%)
HSVhsv(67, 78%, 44%)
CMYKcmyk(9%, 0%, 78.4%, 56.5%)
CIE-LABlab(44.52, -15.62, 43.84)
CIE-LCHlch(44.52, 46.54, 109.60°)
OKLaboklab(51.64% -0.0474 0.0966)
OKLCHoklch(51.64% 0.108 116.1)
XYZxyz(11.2164, 14.2017, 3.0143)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656F18 #22186F
analogous
#6F4E18 #656F18 #3A6F18
triadic
#656F18 #18656F #6F1865
tetradic
#656F18 #186F4E #22186F #6F183A
square
#656F18 #186F4E #22186F #6F183A
split-complementary
#656F18 #183A6F #4E186F
monochromatic
#171905 #373D0D #656F18 #93A123 #BFD22F

Accessibility & contrast

On white

5.47
#656F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#656F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #656F18
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656F18#FFFFFF#000000##FFFFFF
##656F181.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776905
Deuteranopia (green-blind)
#766A20
Tritanopia (blue-blind)
#6C685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #656f18;
/* rgb */ color: rgb(101, 111, 24);
/* oklch */ color: oklch(51.6% 0.108 116.1);
Tailwind
colors: {
  custom: {
    50: '#94985d',
    500: '#656f18',
    950: '#000000',
  },
}
SCSS
$custom: #656f18;
$custom-light: #94985d;
$custom-dark: #000000;
JSON
{
  "hex": "#656f18",
  "rgb": {
    "r": 101,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 66.897,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51639,
    "c": 0.10759,
    "h": 116.1
  },
  "luminance": 0.14202
}

Semantic roles & 50–950 ramp

primary
#656F18
secondary
#4A3EA5
accent
#40E754
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #656F18

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

Preview Lab → · Contrast checker → · Palette generator →

#656F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva