#465012#465012

#465012 is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 40.9% C 0.084 H 118.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#465012
RGBrgb(70, 80, 18)
HSLhsl(70, 63%, 19%)
HSVhsv(70, 78%, 31%)
CMYKcmyk(12.5%, 0%, 77.5%, 68.6%)
CIE-LABlab(32.00, -13.44, 33.26)
CIE-LCHlch(32.00, 35.88, 112.00°)
OKLaboklab(40.92% -0.04 0.0742)
OKLCHoklch(40.92% 0.084 118.3)
XYZxyz(5.5037, 7.0831, 1.6494)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465012 #1C1250
analogous
#503B12 #465012 #275012
triadic
#465012 #124650 #501246
tetradic
#465012 #12503B #1C1250 #501227
square
#465012 #12503B #1C1250 #501227
split-complementary
#465012 #122750 #3B1250
monochromatic
#161906 #1A1E07 #465012 #72821D #9DB428

Accessibility & contrast

On white

8.69
#465012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#465012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465012
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465012#FFFFFF#000000##FFFFFF
##4650121.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B07
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#4B4B44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #465012;
/* rgb */ color: rgb(70, 80, 18);
/* oklch */ color: oklch(40.9% 0.084 118.3);
Tailwind
colors: {
  custom: {
    50: '#7c8155',
    500: '#465012',
    950: '#000000',
  },
}
SCSS
$custom: #465012;
$custom-light: #7c8155;
$custom-dark: #000000;
JSON
{
  "hex": "#465012",
  "rgb": {
    "r": 70,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 69.677,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40915,
    "c": 0.0843,
    "h": 118.3
  },
  "luminance": 0.07083
}

Semantic roles & 50–950 ramp

primary
#465012
secondary
#423589
accent
#41E65C
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #465012

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

Preview Lab → · Contrast checker → · Palette generator →

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