#476F25#476F25

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

Color values

HEX#476F25
RGBrgb(71, 111, 37)
HSLhsl(92, 50%, 29%)
HSVhsv(92, 67%, 44%)
CMYKcmyk(36%, 0%, 66.7%, 56.5%)
CIE-LABlab(42.52, -27.64, 35.69)
CIE-LCHlch(42.52, 45.14, 127.76°)
OKLaboklab(49.52% -0.0772 0.0823)
OKLCHoklch(49.52% 0.113 133.2)
XYZxyz(8.6168, 12.8417, 3.7746)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F25 #4D256F
analogous
#6C6F25 #476F25 #256F28
triadic
#476F25 #25476F #6F2547
tetradic
#476F25 #256C6F #4D256F #6F2825
square
#476F25 #256C6F #4D256F #6F2825
split-complementary
#476F25 #28256F #6F256C
monochromatic
#0F1708 #2A4116 #476F25 #649D34 #82C34B

Accessibility & contrast

On white

5.88
#476F25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #476F25
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476F25#FFFFFF#000000##FFFFFF
##476F251.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74661C
Deuteranopia (green-blind)
#6E632B
Tritanopia (blue-blind)
#476B60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f25;
/* rgb */ color: rgb(71, 111, 37);
/* oklch */ color: oklch(49.5% 0.113 133.2);
Tailwind
colors: {
  custom: {
    50: '#7d9863',
    500: '#476f25',
    950: '#000000',
  },
}
SCSS
$custom: #476f25;
$custom-light: #7d9863;
$custom-dark: #000000;
JSON
{
  "hex": "#476f25",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 37
  },
  "hsl": {
    "h": 92.432,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49515,
    "c": 0.11287,
    "h": 133.2
  },
  "luminance": 0.12842
}

Semantic roles & 50–950 ramp

primary
#476F25
secondary
#7B4EA2
accent
#4EDA9A
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #476F25

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

Preview Lab → · Contrast checker → · Palette generator →

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