#2F3505#2F3505

#2F3505 is a dark, moderate yellow. Relative luminance 0.032; OKLCH L 31.3% C 0.067 H 116.8°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#2F3505
RGBrgb(47, 53, 5)
HSLhsl(68, 83%, 11%)
HSVhsv(68, 91%, 21%)
CMYKcmyk(11.3%, 0%, 90.6%, 79.2%)
CIE-LABlab(20.68, -9.94, 26.74)
CIE-LCHlch(20.68, 28.52, 110.40°)
OKLaboklab(31.28% -0.0302 0.06)
OKLCHoklch(31.28% 0.067 116.8)
XYZxyz(2.4729, 3.1615, 0.6235)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3505 #0B0535
analogous
#352305 #2F3505 #173505
triadic
#2F3505 #052F35 #35052F
tetradic
#2F3505 #053523 #0B0535 #350517
square
#2F3505 #053523 #0B0535 #350517
split-complementary
#2F3505 #051735 #230535
monochromatic
#191C03 #191C03 #2F3505 #616D0A #92A510

Accessibility & contrast

On white

12.86
#2F3505 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2F3505 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3505
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3505#FFFFFF#000000##FFFFFF
##2F35051.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393200
Deuteranopia (green-blind)
#393209
Tritanopia (blue-blind)
#33312C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f3505;
/* rgb */ color: rgb(47, 53, 5);
/* oklch */ color: oklch(31.3% 0.067 116.8);
Tailwind
colors: {
  custom: {
    50: '#696c4a',
    500: '#2f3505',
    950: '#000000',
  },
}
SCSS
$custom: #2f3505;
$custom-light: #696c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3505",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 5
  },
  "hsl": {
    "h": 67.5,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.31281,
    "c": 0.06714,
    "h": 116.8
  },
  "luminance": 0.03162
}

Semantic roles & 50–950 ramp

primary
#2F3505
secondary
#2A2076
accent
#2FF948
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3505

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

Preview Lab → · Contrast checker → · Palette generator →

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