#456828#456828

#456828 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.5% C 0.101 H 133.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#456828
RGBrgb(69, 104, 40)
HSLhsl(93, 44%, 28%)
HSVhsv(93, 62%, 41%)
CMYKcmyk(33.7%, 0%, 61.5%, 59.2%)
CIE-LABlab(40.11, -24.70, 31.49)
CIE-LCHlch(40.11, 40.02, 128.11°)
OKLaboklab(47.53% -0.0688 0.0737)
OKLCHoklch(47.53% 0.101 133)
XYZxyz(7.7874, 11.3188, 3.7815)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456828 #4B2868
analogous
#656828 #456828 #28682B
triadic
#456828 #284568 #682845
tetradic
#456828 #286568 #4B2868 #682B28
square
#456828 #286568 #4B2868 #682B28
split-complementary
#456828 #2B2868 #682865
monochromatic
#0F1609 #283C17 #456828 #629439 #80BB4F

Accessibility & contrast

On white

6.43
#456828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#456828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456828
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456828#FFFFFF#000000##FFFFFF
##4568281.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6021
Deuteranopia (green-blind)
#675E2D
Tritanopia (blue-blind)
#45645A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #456828;
/* rgb */ color: rgb(69, 104, 40);
/* oklch */ color: oklch(47.5% 0.101 133.0);
Tailwind
colors: {
  custom: {
    50: '#7b9364',
    500: '#456828',
    950: '#000000',
  },
}
SCSS
$custom: #456828;
$custom-light: #7b9364;
$custom-dark: #000000;
JSON
{
  "hex": "#456828",
  "rgb": {
    "r": 69,
    "g": 104,
    "b": 40
  },
  "hsl": {
    "h": 92.813,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.47531,
    "c": 0.10084,
    "h": 133
  },
  "luminance": 0.11319
}

Semantic roles & 50–950 ramp

primary
#456828
secondary
#79519B
accent
#54D49A
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#090D05
muted
#7B7E7A

Preview Lab

Preview with #456828

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

Preview Lab → · Contrast checker → · Palette generator →

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