#2F451A#2F451A

#2F451A is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.1% C 0.072 H 131.7°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2F451A
RGBrgb(47, 69, 26)
HSLhsl(91, 45%, 19%)
HSVhsv(91, 62%, 27%)
CMYKcmyk(31.9%, 0%, 62.3%, 72.9%)
CIE-LABlab(26.55, -17.26, 22.93)
CIE-LCHlch(26.55, 28.70, 126.98°)
OKLaboklab(36.09% -0.0481 0.054)
OKLCHoklch(36.09% 0.072 131.7)
XYZxyz(3.4868, 4.9351, 1.7459)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F451A #301A45
analogous
#44451A #2F451A #1A451A
triadic
#2F451A #1A2F45 #451A2F
tetradic
#2F451A #1A4445 #301A45 #451A1A
square
#2F451A #1A4445 #301A45 #451A1A
split-complementary
#2F451A #1A1A45 #451A44
monochromatic
#0F1608 #111909 #2F451A #4D712B #6C9E3B

Accessibility & contrast

On white

10.57
#2F451A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2F451A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F451A
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F451A#FFFFFF#000000##FFFFFF
##2F451A1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484016
Deuteranopia (green-blind)
#453E1D
Tritanopia (blue-blind)
#30423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f451a;
/* rgb */ color: rgb(47, 69, 26);
/* oklch */ color: oklch(36.1% 0.072 131.7);
Tailwind
colors: {
  custom: {
    50: '#697858',
    500: '#2f451a',
    950: '#000000',
  },
}
SCSS
$custom: #2f451a;
$custom-light: #697858;
$custom-dark: #000000;
JSON
{
  "hex": "#2f451a",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 26
  },
  "hsl": {
    "h": 90.698,
    "s": 45.263,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36089,
    "c": 0.07234,
    "h": 131.7
  },
  "luminance": 0.04935
}

Semantic roles & 50–950 ramp

primary
#2F451A
secondary
#5E407B
accent
#53D595
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F451A

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

Preview Lab → · Contrast checker → · Palette generator →

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