#2F400E#2F400E

#2F400E is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.076 H 126.4°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2F400E
RGBrgb(47, 64, 14)
HSLhsl(80, 64%, 15%)
HSVhsv(80, 78%, 25%)
CMYKcmyk(26.6%, 0%, 78.1%, 74.9%)
CIE-LABlab(24.65, -15.71, 27.07)
CIE-LCHlch(24.65, 31.30, 120.14°)
OKLaboklab(34.51% -0.0451 0.0611)
OKLCHoklch(34.51% 0.076 126.4)
XYZxyz(3.0850, 4.3028, 1.0834)
Luminance0.0430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F400E #1F0E40
analogous
#40380E #2F400E #16400E
triadic
#2F400E #0E2F40 #400E2F
tetradic
#2F400E #0E4038 #1F0E40 #400E16
square
#2F400E #0E4038 #1F0E40 #400E16
split-complementary
#2F400E #0E1640 #380E40
monochromatic
#121905 #121905 #2F400E #547219 #79A424

Accessibility & contrast

On white

11.29
#2F400E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2F400E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F400E
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F400E#FFFFFF#000000##FFFFFF
##2F400E1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B07
Deuteranopia (green-blind)
#413A12
Tritanopia (blue-blind)
#313D36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f400e;
/* rgb */ color: rgb(47, 64, 14);
/* oklch */ color: oklch(34.5% 0.076 126.4);
Tailwind
colors: {
  custom: {
    50: '#697550',
    500: '#2f400e',
    950: '#000000',
  },
}
SCSS
$custom: #2f400e;
$custom-light: #697550;
$custom-dark: #000000;
JSON
{
  "hex": "#2f400e",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 80.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34507,
    "c": 0.07594,
    "h": 126.4
  },
  "luminance": 0.04303
}

Semantic roles & 50–950 ramp

primary
#2F400E
secondary
#492F7B
accent
#41E779
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F400E

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

Preview Lab → · Contrast checker → · Palette generator →

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