#456218#456218

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

Color values

HEX#456218
RGBrgb(69, 98, 24)
HSLhsl(84, 61%, 24%)
HSVhsv(84, 76%, 38%)
CMYKcmyk(29.6%, 0%, 75.5%, 61.6%)
CIE-LABlab(37.96, -23.14, 36.66)
CIE-LCHlch(37.96, 43.35, 122.26°)
OKLaboklab(45.73% -0.066 0.0824)
OKLCHoklch(45.73% 0.106 128.7)
XYZxyz(6.9868, 10.0663, 2.4389)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456218 #351862
analogous
#625A18 #456218 #206218
triadic
#456218 #184562 #621845
tetradic
#456218 #18625A #351862 #621820
square
#456218 #18625A #351862 #621820
split-complementary
#456218 #182062 #5A1862
monochromatic
#111906 #22310C #456218 #689324 #8AC430

Accessibility & contrast

On white

6.97
#456218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #456218
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456218#FFFFFF#000000##FFFFFF
##4562181.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0B
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#475D53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #456218;
/* rgb */ color: rgb(69, 98, 24);
/* oklch */ color: oklch(45.7% 0.106 128.7);
Tailwind
colors: {
  custom: {
    50: '#7c8f5a',
    500: '#456218',
    950: '#000000',
  },
}
SCSS
$custom: #456218;
$custom-light: #7c8f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#456218",
  "rgb": {
    "r": 69,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 83.514,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45734,
    "c": 0.10558,
    "h": 128.7
  },
  "luminance": 0.10067
}

Semantic roles & 50–950 ramp

primary
#456218
secondary
#613E98
accent
#44E483
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #456218

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

Preview Lab → · Contrast checker → · Palette generator →

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