#456213#456213

#456213 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.7% C 0.109 H 128.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#456213
RGBrgb(69, 98, 19)
HSLhsl(82, 68%, 23%)
HSVhsv(82, 81%, 38%)
CMYKcmyk(29.6%, 0%, 80.6%, 61.6%)
CIE-LABlab(37.93, -23.47, 38.59)
CIE-LCHlch(37.93, 45.17, 121.31°)
OKLaboklab(45.7% -0.0673 0.0856)
OKLCHoklch(45.7% 0.109 128.2)
XYZxyz(6.9395, 10.0474, 2.1897)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456213 #301362
analogous
#625713 #456213 #1E6213
triadic
#456213 #134562 #621345
tetradic
#456213 #136257 #301362 #62131E
square
#456213 #136257 #301362 #62131E
split-complementary
#456213 #131E62 #571362
monochromatic
#121A05 #212F09 #456213 #69951D #8DC927

Accessibility & contrast

On white

6.98
#456213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #456213
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456213#FFFFFF#000000##FFFFFF
##4562131.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B02
Deuteranopia (green-blind)
#63591B
Tritanopia (blue-blind)
#485D53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #456213;
/* rgb */ color: rgb(69, 98, 19);
/* oklch */ color: oklch(45.7% 0.109 128.2);
Tailwind
colors: {
  custom: {
    50: '#7c8f58',
    500: '#456213',
    950: '#000000',
  },
}
SCSS
$custom: #456213;
$custom-light: #7c8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#456213",
  "rgb": {
    "r": 69,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 82.025,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45696,
    "c": 0.10891,
    "h": 128.2
  },
  "luminance": 0.10048
}

Semantic roles & 50–950 ramp

primary
#456213
secondary
#5B379A
accent
#3DEA7D
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #456213

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

Preview Lab → · Contrast checker → · Palette generator →

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