#2B470F#2B470F

#2B470F is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.3% C 0.088 H 132.5°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2B470F
RGBrgb(43, 71, 15)
HSLhsl(90, 65%, 17%)
HSVhsv(90, 79%, 28%)
CMYKcmyk(39.4%, 0%, 78.9%, 72.2%)
CIE-LABlab(26.89, -21.17, 28.81)
CIE-LCHlch(26.89, 35.75, 126.30°)
OKLaboklab(36.26% -0.0596 0.065)
OKLCHoklch(36.26% 0.088 132.5)
XYZxyz(3.3357, 5.0544, 1.2517)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B470F #2B0F47
analogous
#47470F #2B470F #0F470F
triadic
#2B470F #0F2B47 #470F2B
tetradic
#2B470F #0F4747 #2B0F47 #470F0F
square
#2B470F #0F4747 #2B0F47 #470F0F
split-complementary
#2B470F #0F0F47 #470F47
monochromatic
#0F1905 #0F1905 #2B470F #4A7A1A #68AC24

Accessibility & contrast

On white

10.44
#2B470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B470F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B470F
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B470F#FFFFFF#000000##FFFFFF
##2B470F1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4106
Deuteranopia (green-blind)
#463F14
Tritanopia (blue-blind)
#2B443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b470f;
/* rgb */ color: rgb(43, 71, 15);
/* oklch */ color: oklch(36.3% 0.088 132.5);
Tailwind
colors: {
  custom: {
    50: '#677a51',
    500: '#2b470f',
    950: '#000000',
  },
}
SCSS
$custom: #2b470f;
$custom-light: #677a51;
$custom-dark: #000000;
JSON
{
  "hex": "#2b470f",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 90,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3626,
    "c": 0.08818,
    "h": 132.5
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#2B470F
secondary
#593081
accent
#40E894
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B470F

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

Preview Lab → · Contrast checker → · Palette generator →

#2B470F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva