#476123#476123

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

Color values

HEX#476123
RGBrgb(71, 97, 35)
HSLhsl(85, 47%, 26%)
HSVhsv(85, 64%, 38%)
CMYKcmyk(26.8%, 0%, 63.9%, 62%)
CIE-LABlab(37.86, -20.83, 31.51)
CIE-LCHlch(37.86, 37.77, 123.47°)
OKLaboklab(45.72% -0.0587 0.0732)
OKLCHoklch(45.72% 0.094 128.8)
XYZxyz(7.1766, 10.0102, 3.1438)
Luminance0.1001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476123 #3D2361
analogous
#615C23 #476123 #286123
triadic
#476123 #234761 #612347
tetradic
#476123 #23615C #3D2361 #612328
square
#476123 #23615C #3D2361 #612328
split-complementary
#476123 #232861 #5C2361
monochromatic
#101608 #263413 #476123 #688E33 #89BB43

Accessibility & contrast

On white

7.00
#476123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#476123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476123
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476123#FFFFFF#000000##FFFFFF
##4761231.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A1C
Deuteranopia (green-blind)
#625927
Tritanopia (blue-blind)
#495D54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #476123;
/* rgb */ color: rgb(71, 97, 35);
/* oklch */ color: oklch(45.7% 0.094 128.8);
Tailwind
colors: {
  custom: {
    50: '#7c8e61',
    500: '#476123',
    950: '#000000',
  },
}
SCSS
$custom: #476123;
$custom-light: #7c8e61;
$custom-dark: #000000;
JSON
{
  "hex": "#476123",
  "rgb": {
    "r": 71,
    "g": 97,
    "b": 35
  },
  "hsl": {
    "h": 85.161,
    "s": 46.97,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4572,
    "c": 0.0938,
    "h": 128.8
  },
  "luminance": 0.1001
}

Semantic roles & 50–950 ramp

primary
#476123
secondary
#6A4B95
accent
#51D789
background
#F7F8F5
surface
#EEF0EA
border
#C9CBC6
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #476123

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

Preview Lab → · Contrast checker → · Palette generator →

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