#647B15#647B15

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

Color values

HEX#647B15
RGBrgb(100, 123, 21)
HSLhsl(74, 71%, 28%)
HSVhsv(74, 83%, 48%)
CMYKcmyk(18.7%, 0%, 82.9%, 51.8%)
CIE-LABlab(48.17, -22.51, 48.16)
CIE-LCHlch(48.17, 53.16, 115.05°)
OKLaboklab(54.56% -0.0665 0.1052)
OKLCHoklch(54.56% 0.124 122.3)
XYZxyz(12.4740, 16.9293, 3.3199)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647B15 #2C157B
analogous
#7B5F15 #647B15 #317B15
triadic
#647B15 #15647B #7B1564
tetradic
#647B15 #157B5F #2C157B #7B1531
square
#647B15 #157B5F #2C157B #7B1531
split-complementary
#647B15 #15317B #5F157B
monochromatic
#151A04 #39470C #647B15 #8EAF1E #B5DB2F

Accessibility & contrast

On white

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

On black

4.39
#647B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##647B15#FFFFFF#000000##FFFFFF
##647B151.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #647b15;
/* rgb */ color: rgb(100, 123, 21);
/* oklch */ color: oklch(54.6% 0.124 122.3);
Tailwind
colors: {
  custom: {
    50: '#93a15d',
    500: '#647b15',
    950: '#000000',
  },
}
SCSS
$custom: #647b15;
$custom-light: #93a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#647b15",
  "rgb": {
    "r": 100,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 73.529,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54555,
    "c": 0.12447,
    "h": 122.3
  },
  "luminance": 0.16929
}

Semantic roles & 50–950 ramp

primary
#647B15
secondary
#563BB0
accent
#3AEE63
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #647B15

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

Preview Lab → · Contrast checker → · Palette generator →

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