#456214#456214

#456214 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.7% C 0.108 H 128.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#456214
RGBrgb(69, 98, 20)
HSLhsl(82, 66%, 23%)
HSVhsv(82, 80%, 38%)
CMYKcmyk(29.6%, 0%, 79.6%, 61.6%)
CIE-LABlab(37.93, -23.41, 38.22)
CIE-LCHlch(37.93, 44.82, 121.48°)
OKLaboklab(45.7% -0.0671 0.085)
OKLCHoklch(45.7% 0.108 128.3)
XYZxyz(6.9482, 10.0509, 2.2356)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456214 #311462
analogous
#625814 #456214 #1E6214
triadic
#456214 #144562 #621445
tetradic
#456214 #146258 #311462 #62141E
square
#456214 #146258 #311462 #62141E
split-complementary
#456214 #141E62 #581462
monochromatic
#121905 #212F0A #456214 #69951E #8DC829

Accessibility & contrast

On white

6.98
#456214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#456214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456214
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456214#FFFFFF#000000##FFFFFF
##4562141.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B04
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#485D53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #456214;
/* rgb */ color: rgb(69, 98, 20);
/* oklch */ color: oklch(45.7% 0.108 128.3);
Tailwind
colors: {
  custom: {
    50: '#7c8f58',
    500: '#456214',
    950: '#000000',
  },
}
SCSS
$custom: #456214;
$custom-light: #7c8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#456214",
  "rgb": {
    "r": 69,
    "g": 98,
    "b": 20
  },
  "hsl": {
    "h": 82.308,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45703,
    "c": 0.10829,
    "h": 128.3
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#456214
secondary
#5C3899
accent
#3FE97E
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #456214

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

Preview Lab → · Contrast checker → · Palette generator →

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