#476F23#476F23

#476F23 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.5% C 0.115 H 132.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#476F23
RGBrgb(71, 111, 35)
HSLhsl(92, 52%, 29%)
HSVhsv(92, 68%, 44%)
CMYKcmyk(36%, 0%, 68.5%, 56.5%)
CIE-LABlab(42.51, -27.83, 36.60)
CIE-LCHlch(42.51, 45.98, 127.25°)
OKLaboklab(49.49% -0.0779 0.0839)
OKLCHoklch(49.49% 0.115 132.9)
XYZxyz(8.5862, 12.8295, 3.6137)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F23 #4B236F
analogous
#6D6F23 #476F23 #236F25
triadic
#476F23 #23476F #6F2347
tetradic
#476F23 #236D6F #4B236F #6F2523
square
#476F23 #236D6F #4B236F #6F2523
split-complementary
#476F23 #25236F #6F236D
monochromatic
#0F1707 #294014 #476F23 #659E32 #83C547

Accessibility & contrast

On white

5.89
#476F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#476F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476F23
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476F23#FFFFFF#000000##FFFFFF
##476F231.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746619
Deuteranopia (green-blind)
#6E6329
Tritanopia (blue-blind)
#486A5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f23;
/* rgb */ color: rgb(71, 111, 35);
/* oklch */ color: oklch(49.5% 0.115 132.9);
Tailwind
colors: {
  custom: {
    50: '#7d9862',
    500: '#476f23',
    950: '#000000',
  },
}
SCSS
$custom: #476f23;
$custom-light: #7d9862;
$custom-dark: #000000;
JSON
{
  "hex": "#476f23",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 35
  },
  "hsl": {
    "h": 91.579,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49494,
    "c": 0.11455,
    "h": 132.9
  },
  "luminance": 0.1283
}

Semantic roles & 50–950 ramp

primary
#476F23
secondary
#794CA2
accent
#4CDB98
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476F23

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

Preview Lab → · Contrast checker → · Palette generator →

#476F23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva