#647118#647118

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

Color values

HEX#647118
RGBrgb(100, 113, 24)
HSLhsl(69, 65%, 27%)
HSVhsv(69, 79%, 44%)
CMYKcmyk(11.5%, 0%, 78.8%, 55.7%)
CIE-LABlab(45.06, -17.15, 44.32)
CIE-LCHlch(45.06, 47.52, 111.15°)
OKLaboklab(52.05% -0.0515 0.0977)
OKLCHoklch(52.05% 0.11 117.8)
XYZxyz(11.3258, 14.5856, 3.0826)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647118 #251871
analogous
#715218 #647118 #387118
triadic
#647118 #186471 #711864
tetradic
#647118 #187152 #251871 #711838
square
#647118 #187152 #251871 #711838
split-complementary
#647118 #183871 #521871
monochromatic
#161905 #373F0D #647118 #91A323 #BBD330

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##647118#FFFFFF#000000##FFFFFF
##6471181.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)
#796A04
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#6B6A60
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #647118;
/* rgb */ color: rgb(100, 113, 24);
/* oklch */ color: oklch(52.1% 0.110 117.8);
Tailwind
colors: {
  custom: {
    50: '#93995d',
    500: '#647118',
    950: '#000000',
  },
}
SCSS
$custom: #647118;
$custom-light: #93995d;
$custom-dark: #000000;
JSON
{
  "hex": "#647118",
  "rgb": {
    "r": 100,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 68.764,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52053,
    "c": 0.11042,
    "h": 117.8
  },
  "luminance": 0.14586
}

Semantic roles & 50–950 ramp

primary
#647118
secondary
#4E3EA6
accent
#40E858
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #647118

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

Preview Lab → · Contrast checker → · Palette generator →

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