#647018#647018

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

Color values

HEX#647018
RGBrgb(100, 112, 24)
HSLhsl(68, 65%, 27%)
HSVhsv(68, 79%, 44%)
CMYKcmyk(10.7%, 0%, 78.6%, 56.1%)
CIE-LABlab(44.75, -16.62, 44.03)
CIE-LCHlch(44.75, 47.06, 110.68°)
OKLaboklab(51.8% -0.05 0.097)
OKLCHoklch(51.8% 0.109 117.3)
XYZxyz(11.2148, 14.3637, 3.0457)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647018 #241870
analogous
#705018 #647018 #387018
triadic
#647018 #186470 #701864
tetradic
#647018 #187050 #241870 #701838
square
#647018 #187050 #241870 #701838
split-complementary
#647018 #183870 #501870
monochromatic
#161905 #373E0D #647018 #91A223 #BCD330

Accessibility & contrast

On white

5.42
#647018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#647018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #647018
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647018#FFFFFF#000000##FFFFFF
##6470181.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #647018;
/* rgb */ color: rgb(100, 112, 24);
/* oklch */ color: oklch(51.8% 0.109 117.3);
Tailwind
colors: {
  custom: {
    50: '#93995d',
    500: '#647018',
    950: '#000000',
  },
}
SCSS
$custom: #647018;
$custom-light: #93995d;
$custom-dark: #000000;
JSON
{
  "hex": "#647018",
  "rgb": {
    "r": 100,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 68.182,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51803,
    "c": 0.10919,
    "h": 117.3
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#647018
secondary
#4C3EA5
accent
#40E857
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #647018

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

Preview Lab → · Contrast checker → · Palette generator →

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