#456312#456312

#456312 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.0% C 0.111 H 128.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#456312
RGBrgb(69, 99, 18)
HSLhsl(82, 69%, 23%)
HSVhsv(82, 82%, 39%)
CMYKcmyk(30.3%, 0%, 81.8%, 61.2%)
CIE-LABlab(38.26, -24.03, 39.26)
CIE-LCHlch(38.26, 46.03, 121.47°)
OKLaboklab(45.96% -0.0689 0.0869)
OKLCHoklch(45.96% 0.111 128.4)
XYZxyz(7.0253, 10.2324, 2.1771)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456312 #301263
analogous
#635812 #456312 #1C6312
triadic
#456312 #124563 #631245
tetradic
#456312 #126358 #301263 #63121C
square
#456312 #126358 #301263 #63121C
split-complementary
#456312 #121C63 #581263
monochromatic
#121A05 #212F09 #456312 #69971B #8DCB25

Accessibility & contrast

On white

6.89
#456312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #456312
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456312#FFFFFF#000000##FFFFFF
##4563121.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#64591A
Tritanopia (blue-blind)
#485E54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #456312;
/* rgb */ color: rgb(69, 99, 18);
/* oklch */ color: oklch(46.0% 0.111 128.4);
Tailwind
colors: {
  custom: {
    50: '#7c8f57',
    500: '#456312',
    950: '#000000',
  },
}
SCSS
$custom: #456312;
$custom-light: #7c8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#456312",
  "rgb": {
    "r": 69,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 82.222,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45962,
    "c": 0.11087,
    "h": 128.4
  },
  "luminance": 0.10233
}

Semantic roles & 50–950 ramp

primary
#456312
secondary
#5B369B
accent
#3CEC7D
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #456312

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

Preview Lab → · Contrast checker → · Palette generator →

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