#456318#456318

#456318 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.0% C 0.107 H 129.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#456318
RGBrgb(69, 99, 24)
HSLhsl(84, 61%, 24%)
HSVhsv(84, 76%, 39%)
CMYKcmyk(30.3%, 0%, 75.8%, 61.2%)
CIE-LABlab(38.30, -23.65, 36.99)
CIE-LCHlch(38.30, 43.91, 122.59°)
OKLaboklab(46.01% -0.0674 0.0831)
OKLCHoklch(46.01% 0.107 129)
XYZxyz(7.0809, 10.2547, 2.4703)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456318 #361863
analogous
#635C18 #456318 #206318
triadic
#456318 #184563 #631845
tetradic
#456318 #18635C #361863 #631820
square
#456318 #18635C #361863 #631820
split-complementary
#456318 #182063 #5C1863
monochromatic
#111906 #23320C #456318 #679424 #8AC630

Accessibility & contrast

On white

6.88
#456318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#456318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456318
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456318#FFFFFF#000000##FFFFFF
##4563181.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C0B
Deuteranopia (green-blind)
#64591F
Tritanopia (blue-blind)
#475E54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #456318;
/* rgb */ color: rgb(69, 99, 24);
/* oklch */ color: oklch(46.0% 0.107 129.0);
Tailwind
colors: {
  custom: {
    50: '#7c8f5a',
    500: '#456318',
    950: '#000000',
  },
}
SCSS
$custom: #456318;
$custom-light: #7c8f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#456318",
  "rgb": {
    "r": 69,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 84,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46006,
    "c": 0.107,
    "h": 129
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#456318
secondary
#623E99
accent
#44E484
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #456318

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

Preview Lab → · Contrast checker → · Palette generator →

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