#407023#407023

#407023 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.4% C 0.120 H 135.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#407023
RGBrgb(64, 112, 35)
HSLhsl(97, 52%, 29%)
HSVhsv(97, 69%, 44%)
CMYKcmyk(42.9%, 0%, 68.8%, 56.1%)
CIE-LABlab(42.46, -30.94, 36.44)
CIE-LCHlch(42.46, 47.80, 130.34°)
OKLaboklab(49.35% -0.0859 0.0837)
OKLCHoklch(49.35% 0.12 135.8)
XYZxyz(8.2117, 12.7992, 3.6276)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407023 #532370
analogous
#677023 #407023 #23702D
triadic
#407023 #234070 #702340
tetradic
#407023 #236770 #532370 #702D23
square
#407023 #236770 #532370 #702D23
split-complementary
#407023 #2D2370 #702367
monochromatic
#0D1707 #254114 #407023 #5B9F32 #77C648

Accessibility & contrast

On white

5.90
#407023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#407023 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407023
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407023#FFFFFF#000000##FFFFFF
##4070231.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746719
Deuteranopia (green-blind)
#6E6329
Tritanopia (blue-blind)
#3E6C60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #407023;
/* rgb */ color: rgb(64, 112, 35);
/* oklch */ color: oklch(49.4% 0.120 135.8);
Tailwind
colors: {
  custom: {
    50: '#799962',
    500: '#407023',
    950: '#000000',
  },
}
SCSS
$custom: #407023;
$custom-light: #799962;
$custom-dark: #000000;
JSON
{
  "hex": "#407023",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 35
  },
  "hsl": {
    "h": 97.403,
    "s": 52.381,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49354,
    "c": 0.11996,
    "h": 135.8
  },
  "luminance": 0.128
}

Semantic roles & 50–950 ramp

primary
#407023
secondary
#824CA3
accent
#4CDCA6
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #407023

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

Preview Lab → · Contrast checker → · Palette generator →

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