#465712#465712

#465712 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.8% C 0.094 H 122.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#465712
RGBrgb(70, 87, 18)
HSLhsl(75, 66%, 21%)
HSVhsv(75, 79%, 34%)
CMYKcmyk(19.5%, 0%, 79.3%, 65.9%)
CIE-LABlab(34.32, -17.33, 35.53)
CIE-LCHlch(34.32, 39.53, 115.99°)
OKLaboklab(42.79% -0.0507 0.079)
OKLCHoklch(42.79% 0.094 122.7)
XYZxyz(6.0432, 8.1621, 1.8292)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465712 #231257
analogous
#574512 #465712 #235712
triadic
#465712 #124657 #571246
tetradic
#465712 #125745 #231257 #571223
square
#465712 #125745 #231257 #571223
split-complementary
#465712 #122357 #451257
monochromatic
#141905 #1D2408 #465712 #6F8A1C #98BC27

Accessibility & contrast

On white

7.98
#465712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#465712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465712
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465712#FFFFFF#000000##FFFFFF
##4657121.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5105
Deuteranopia (green-blind)
#5A5118
Tritanopia (blue-blind)
#4A524A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #465712;
/* rgb */ color: rgb(70, 87, 18);
/* oklch */ color: oklch(42.8% 0.094 122.7);
Tailwind
colors: {
  custom: {
    50: '#7c8656',
    500: '#465712',
    950: '#000000',
  },
}
SCSS
$custom: #465712;
$custom-light: #7c8656;
$custom-dark: #000000;
JSON
{
  "hex": "#465712",
  "rgb": {
    "r": 70,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 74.783,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42788,
    "c": 0.09386,
    "h": 122.7
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#465712
secondary
#4B3590
accent
#3FE969
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #465712

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

Preview Lab → · Contrast checker → · Palette generator →

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