#647012#647012

#647012 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.8% C 0.112 H 117.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#647012
RGBrgb(100, 112, 18)
HSLhsl(68, 72%, 25%)
HSVhsv(68, 84%, 44%)
CMYKcmyk(10.7%, 0%, 83.9%, 56.1%)
CIE-LABlab(44.72, -16.89, 45.99)
CIE-LCHlch(44.72, 48.99, 110.16°)
OKLaboklab(51.77% -0.0513 0.1001)
OKLCHoklch(51.77% 0.112 117.1)
XYZxyz(11.1592, 14.3415, 2.7525)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647012 #1E1270
analogous
#704D12 #647012 #357012
triadic
#647012 #126470 #701264
tetradic
#647012 #12704D #1E1270 #701235
square
#647012 #12704D #1E1270 #701235
split-complementary
#647012 #123570 #4D1270
monochromatic
#181A04 #353B0A #647012 #93A51A #C2D923

Accessibility & contrast

On white

5.43
#647012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #647012
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647012#FFFFFF#000000##FFFFFF
##6470121.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#776A1C
Tritanopia (blue-blind)
#6B695F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #647012;
/* rgb */ color: rgb(100, 112, 18);
/* oklch */ color: oklch(51.8% 0.112 117.1);
Tailwind
colors: {
  custom: {
    50: '#93995a',
    500: '#647012',
    950: '#000000',
  },
}
SCSS
$custom: #647012;
$custom-light: #93995a;
$custom-dark: #000000;
JSON
{
  "hex": "#647012",
  "rgb": {
    "r": 100,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 67.66,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.11246,
    "h": 117.1
  },
  "luminance": 0.14341
}

Semantic roles & 50–950 ramp

primary
#647012
secondary
#4537A7
accent
#39EF50
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #647012

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

Preview Lab → · Contrast checker → · Palette generator →

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