#647117#647117

#647117 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.0% C 0.111 H 117.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#647117
RGBrgb(100, 113, 23)
HSLhsl(69, 66%, 27%)
HSVhsv(69, 80%, 44%)
CMYKcmyk(11.5%, 0%, 79.6%, 55.7%)
CIE-LABlab(45.06, -17.20, 44.67)
CIE-LCHlch(45.06, 47.87, 111.06°)
OKLaboklab(52.05% -0.0517 0.0982)
OKLCHoklch(52.05% 0.111 117.8)
XYZxyz(11.3156, 14.5816, 3.0289)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647117 #241771
analogous
#715117 #647117 #377117
triadic
#647117 #176471 #711764
tetradic
#647117 #177151 #241771 #711737
square
#647117 #177151 #241771 #711737
split-complementary
#647117 #173771 #511771
monochromatic
#161905 #373E0D #647117 #91A421 #BCD42E

Accessibility & contrast

On white

5.36
#647117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#647117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #647117
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647117#FFFFFF#000000##FFFFFF
##6471171.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A02
Deuteranopia (green-blind)
#786B1F
Tritanopia (blue-blind)
#6B6A60
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #647117;
/* rgb */ color: rgb(100, 113, 23);
/* oklch */ color: oklch(52.0% 0.111 117.8);
Tailwind
colors: {
  custom: {
    50: '#93995c',
    500: '#647117',
    950: '#000000',
  },
}
SCSS
$custom: #647117;
$custom-light: #93995c;
$custom-dark: #000000;
JSON
{
  "hex": "#647117",
  "rgb": {
    "r": 100,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 68.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52046,
    "c": 0.111,
    "h": 117.8
  },
  "luminance": 0.14581
}

Semantic roles & 50–950 ramp

primary
#647117
secondary
#4C3DA7
accent
#3FE957
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #647117

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

Preview Lab → · Contrast checker → · Palette generator →

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