#464D18#464D18

#464D18 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.2% C 0.075 H 116.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#464D18
RGBrgb(70, 77, 24)
HSLhsl(68, 52%, 20%)
HSVhsv(68, 69%, 30%)
CMYKcmyk(9.1%, 0%, 68.8%, 69.8%)
CIE-LABlab(31.06, -11.28, 29.52)
CIE-LCHlch(31.06, 31.60, 110.91°)
OKLaboklab(40.18% -0.0333 0.0674)
OKLCHoklch(40.18% 0.075 116.3)
XYZxyz(5.3446, 6.6759, 1.8710)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#464D18 #1F184D
analogous
#4D3A18 #464D18 #2B4D18
triadic
#464D18 #18464D #4D1846
tetradic
#464D18 #184D3A #1F184D #4D182B
square
#464D18 #184D3A #1F184D #4D182B
split-complementary
#464D18 #182B4D #3A184D
monochromatic
#151707 #1C1E09 #464D18 #707C27 #9BAA35

Accessibility & contrast

On white

8.99
#464D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#464D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #464D18
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##464D18#FFFFFF#000000##FFFFFF
##464D181.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534911
Deuteranopia (green-blind)
#52491C
Tritanopia (blue-blind)
#4B4842
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #464d18;
/* rgb */ color: rgb(70, 77, 24);
/* oklch */ color: oklch(40.2% 0.075 116.3);
Tailwind
colors: {
  custom: {
    50: '#7b7e58',
    500: '#464d18',
    950: '#000000',
  },
}
SCSS
$custom: #464d18;
$custom-light: #7b7e58;
$custom-dark: #000000;
JSON
{
  "hex": "#464d18",
  "rgb": {
    "r": 70,
    "g": 77,
    "b": 24
  },
  "hsl": {
    "h": 67.925,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40178,
    "c": 0.07516,
    "h": 116.3
  },
  "luminance": 0.06676
}

Semantic roles & 50–950 ramp

primary
#464D18
secondary
#463D84
accent
#4CDC5F
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #464D18

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

Preview Lab → · Contrast checker → · Palette generator →

#464D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva