#456B1F#456B1F

#456B1F is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.2% C 0.113 H 132.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#456B1F
RGBrgb(69, 107, 31)
HSLhsl(90, 55%, 27%)
HSVhsv(90, 71%, 42%)
CMYKcmyk(35.5%, 0%, 71%, 58%)
CIE-LABlab(41.02, -27.04, 36.79)
CIE-LCHlch(41.02, 45.66, 126.31°)
OKLaboklab(48.24% -0.076 0.0838)
OKLCHoklch(48.24% 0.113 132.2)
XYZxyz(7.9592, 11.8792, 3.1696)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456B1F #451F6B
analogous
#6B6B1F #456B1F #1F6B1F
triadic
#456B1F #1F456B #6B1F45
tetradic
#456B1F #1F6B6B #451F6B #6B1F1F
square
#456B1F #1F6B6B #451F6B #6B1F1F
split-complementary
#456B1F #1F1F6B #6B1F6B
monochromatic
#0F1807 #263C11 #456B1F #649A2D #82C73D

Accessibility & contrast

On white

6.22
#456B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#456B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456B1F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456B1F#FFFFFF#000000##FFFFFF
##456B1F1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706314
Deuteranopia (green-blind)
#6A6025
Tritanopia (blue-blind)
#46665C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #456b1f;
/* rgb */ color: rgb(69, 107, 31);
/* oklch */ color: oklch(48.2% 0.113 132.2);
Tailwind
colors: {
  custom: {
    50: '#7c955f',
    500: '#456b1f',
    950: '#000000',
  },
}
SCSS
$custom: #456b1f;
$custom-light: #7c955f;
$custom-dark: #000000;
JSON
{
  "hex": "#456b1f",
  "rgb": {
    "r": 69,
    "g": 107,
    "b": 31
  },
  "hsl": {
    "h": 90,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48244,
    "c": 0.11314,
    "h": 132.2
  },
  "luminance": 0.1188
}

Semantic roles & 50–950 ramp

primary
#456B1F
secondary
#73479F
accent
#49DE94
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #456B1F

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

Preview Lab → · Contrast checker → · Palette generator →

#456B1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva