#464F18#464F18

#464F18 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.7% C 0.078 H 117.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#464F18
RGBrgb(70, 79, 24)
HSLhsl(70, 53%, 20%)
HSVhsv(70, 70%, 31%)
CMYKcmyk(11.4%, 0%, 69.6%, 69%)
CIE-LABlab(31.72, -12.43, 30.23)
CIE-LCHlch(31.72, 32.68, 112.36°)
OKLaboklab(40.71% -0.0365 0.0689)
OKLCHoklch(40.71% 0.078 117.9)
XYZxyz(5.4867, 6.9601, 1.9184)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#464F18 #21184F
analogous
#4F3C18 #464F18 #2B4F18
triadic
#464F18 #18464F #4F1846
tetradic
#464F18 #184F3C #21184F #4F182B
square
#464F18 #184F3C #21184F #4F182B
split-complementary
#464F18 #182B4F #3C184F
monochromatic
#151707 #1C200A #464F18 #707E26 #99AD35

Accessibility & contrast

On white

8.78
#464F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#464F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #464F18
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##464F18#FFFFFF#000000##FFFFFF
##464F181.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A11
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#4A4A44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #464f18;
/* rgb */ color: rgb(70, 79, 24);
/* oklch */ color: oklch(40.7% 0.078 117.9);
Tailwind
colors: {
  custom: {
    50: '#7b8058',
    500: '#464f18',
    950: '#000000',
  },
}
SCSS
$custom: #464f18;
$custom-light: #7b8058;
$custom-dark: #000000;
JSON
{
  "hex": "#464f18",
  "rgb": {
    "r": 70,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 69.818,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40707,
    "c": 0.07796,
    "h": 117.9
  },
  "luminance": 0.0696
}

Semantic roles & 50–950 ramp

primary
#464F18
secondary
#493D86
accent
#4BDD63
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #464F18

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

Preview Lab → · Contrast checker → · Palette generator →

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