#647317#647317

#647317 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 52.5% C 0.113 H 118.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#647317
RGBrgb(100, 115, 23)
HSLhsl(70, 67%, 27%)
HSVhsv(70, 80%, 45%)
CMYKcmyk(13%, 0%, 80%, 54.9%)
CIE-LABlab(45.68, -18.26, 45.25)
CIE-LCHlch(45.68, 48.79, 111.98°)
OKLaboklab(52.55% -0.0547 0.0994)
OKLCHoklch(52.55% 0.113 118.8)
XYZxyz(11.5412, 15.0327, 3.1041)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647317 #261773
analogous
#735417 #647317 #367317
triadic
#647317 #176473 #731764
tetradic
#647317 #177354 #261773 #731736
square
#647317 #177354 #261773 #731736
split-complementary
#647317 #173673 #541773
monochromatic
#161A05 #38400D #647317 #90A621 #BAD52F

Accessibility & contrast

On white

5.24
#647317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#647317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #647317
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647317#FFFFFF#000000##FFFFFF
##6473171.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #647317;
/* rgb */ color: rgb(100, 115, 23);
/* oklch */ color: oklch(52.5% 0.113 118.8);
Tailwind
colors: {
  custom: {
    50: '#939b5d',
    500: '#647317',
    950: '#000000',
  },
}
SCSS
$custom: #647317;
$custom-light: #939b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#647317",
  "rgb": {
    "r": 100,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 69.783,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.52548,
    "c": 0.11347,
    "h": 118.8
  },
  "luminance": 0.15033
}

Semantic roles & 50–950 ramp

primary
#647317
secondary
#4F3DA9
accent
#3EEA5A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #647317

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

Preview Lab → · Contrast checker → · Palette generator →

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