#2F3405#2F3405

#2F3405 is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.0% C 0.066 H 115.7°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#2F3405
RGBrgb(47, 52, 5)
HSLhsl(66, 82%, 11%)
HSVhsv(66, 90%, 20%)
CMYKcmyk(9.6%, 0%, 90.4%, 79.6%)
CIE-LABlab(20.33, -9.33, 26.34)
CIE-LCHlch(20.33, 27.95, 109.51°)
OKLaboklab(31% -0.0285 0.0593)
OKLCHoklch(31% 0.066 115.7)
XYZxyz(2.4277, 3.0713, 0.6085)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3405 #0A0534
analogous
#342105 #2F3405 #173405
triadic
#2F3405 #052F34 #34052F
tetradic
#2F3405 #053421 #0A0534 #340517
square
#2F3405 #053421 #0A0534 #340517
split-complementary
#2F3405 #051734 #210534
monochromatic
#191C03 #191C03 #2F3405 #616C0A #94A410

Accessibility & contrast

On white

13.01
#2F3405 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2F3405 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3405
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3405#FFFFFF#000000##FFFFFF
##2F34051.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383100
Deuteranopia (green-blind)
#383109
Tritanopia (blue-blind)
#33302B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f3405;
/* rgb */ color: rgb(47, 52, 5);
/* oklch */ color: oklch(31.0% 0.066 115.7);
Tailwind
colors: {
  custom: {
    50: '#696b4a',
    500: '#2f3405',
    950: '#000000',
  },
}
SCSS
$custom: #2f3405;
$custom-light: #696b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3405",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 5
  },
  "hsl": {
    "h": 66.383,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.30998,
    "c": 0.06578,
    "h": 115.7
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#2F3405
secondary
#291F75
accent
#2FF944
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3405

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

Preview Lab → · Contrast checker → · Palette generator →

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