#647B12#647B12

#647B12 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.5% C 0.126 H 122.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#647B12
RGBrgb(100, 123, 18)
HSLhsl(73, 74%, 28%)
HSVhsv(73, 85%, 48%)
CMYKcmyk(18.7%, 0%, 85.4%, 51.8%)
CIE-LABlab(48.16, -22.63, 49.01)
CIE-LCHlch(48.16, 53.98, 114.78°)
OKLaboklab(54.54% -0.067 0.1065)
OKLCHoklch(54.54% 0.126 122.2)
XYZxyz(12.4479, 16.9189, 3.1820)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647B12 #29127B
analogous
#7B5E12 #647B12 #2F7B12
triadic
#647B12 #12647B #7B1264
tetradic
#647B12 #127B5E #29127B #7B122F
square
#647B12 #127B5E #29127B #7B122F
split-complementary
#647B12 #122F7B #5E127B
monochromatic
#161B04 #39460A #647B12 #8FB01A #B7E028

Accessibility & contrast

On white

4.79
#647B12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#647B12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #647B12
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647B12#FFFFFF#000000##FFFFFF
##647B121.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#80721E
Tritanopia (blue-blind)
#6A7468
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #647b12;
/* rgb */ color: rgb(100, 123, 18);
/* oklch */ color: oklch(54.5% 0.126 122.2);
Tailwind
colors: {
  custom: {
    50: '#94a15c',
    500: '#647b12',
    950: '#000000',
  },
}
SCSS
$custom: #647b12;
$custom-light: #94a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#647b12",
  "rgb": {
    "r": 100,
    "g": 123,
    "b": 18
  },
  "hsl": {
    "h": 73.143,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5454,
    "c": 0.12585,
    "h": 122.2
  },
  "luminance": 0.16919
}

Semantic roles & 50–950 ramp

primary
#647B12
secondary
#5238B1
accent
#37F160
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #647B12

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

Preview Lab → · Contrast checker → · Palette generator →

#647B12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva