#2F4213#2F4213

#2F4213 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.1% C 0.075 H 128.4°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2F4213
RGBrgb(47, 66, 19)
HSLhsl(84, 55%, 17%)
HSVhsv(84, 71%, 26%)
CMYKcmyk(28.8%, 0%, 71.2%, 74.1%)
CIE-LABlab(25.41, -16.38, 25.41)
CIE-LCHlch(25.41, 30.23, 122.82°)
OKLaboklab(35.14% -0.0464 0.0584)
OKLCHoklch(35.14% 0.075 128.4)
XYZxyz(3.2380, 4.5477, 1.3232)
Luminance0.0455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4213 #261342
analogous
#423E13 #2F4213 #184213
triadic
#2F4213 #132F42 #42132F
tetradic
#2F4213 #13423E #261342 #421318
square
#2F4213 #13423E #261342 #421318
split-complementary
#2F4213 #131842 #3E1342
monochromatic
#111807 #111807 #2F4213 #517221 #73A12E

Accessibility & contrast

On white

11.00
#2F4213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2F4213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4213
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4213#FFFFFF#000000##FFFFFF
##2F42131.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D0D
Deuteranopia (green-blind)
#433C17
Tritanopia (blue-blind)
#313F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f4213;
/* rgb */ color: rgb(47, 66, 19);
/* oklch */ color: oklch(35.1% 0.075 128.4);
Tailwind
colors: {
  custom: {
    50: '#697653',
    500: '#2f4213',
    950: '#000000',
  },
}
SCSS
$custom: #2f4213;
$custom-light: #697653;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4213",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 19
  },
  "hsl": {
    "h": 84.255,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35136,
    "c": 0.07461,
    "h": 128.4
  },
  "luminance": 0.04548
}

Semantic roles & 50–950 ramp

primary
#2F4213
secondary
#52367B
accent
#49DF86
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F4213

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

Preview Lab → · Contrast checker → · Palette generator →

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