#456331#456331

#456331 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.3% C 0.083 H 134.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#456331
RGBrgb(69, 99, 49)
HSLhsl(96, 34%, 29%)
HSVhsv(96, 51%, 39%)
CMYKcmyk(30.3%, 0%, 50.5%, 61.2%)
CIE-LABlab(38.57, -21.04, 24.83)
CIE-LCHlch(38.57, 32.54, 130.27°)
OKLaboklab(46.32% -0.058 0.0599)
OKLCHoklch(46.32% 0.083 134.1)
XYZxyz(7.4703, 10.4104, 4.5209)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456331 #4F3163
analogous
#5E6331 #456331 #316336
triadic
#456331 #314563 #633145
tetradic
#456331 #315E63 #4F3163 #633631
square
#456331 #315E63 #4F3163 #633631
split-complementary
#456331 #363163 #63315E
monochromatic
#0E140A #283A1D #456331 #628C45 #7FB05F

Accessibility & contrast

On white

6.81
#456331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#456331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456331
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456331#FFFFFF#000000##FFFFFF
##4563311.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665C2D
Deuteranopia (green-blind)
#625A34
Tritanopia (blue-blind)
#456057
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #456331;
/* rgb */ color: rgb(69, 99, 49);
/* oklch */ color: oklch(46.3% 0.083 134.1);
Tailwind
colors: {
  custom: {
    50: '#7a8f6a',
    500: '#456331',
    950: '#000000',
  },
}
SCSS
$custom: #456331;
$custom-light: #7a8f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#456331",
  "rgb": {
    "r": 69,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 96,
    "s": 33.784,
    "l": 29.02
  },
  "oklch": {
    "l": 0.46316,
    "c": 0.08339,
    "h": 134.1
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#456331
secondary
#7E5C94
accent
#5ECA9F
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #456331

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

Preview Lab → · Contrast checker → · Palette generator →

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