#2F3506#2F3506

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

Color values

HEX#2F3506
RGBrgb(47, 53, 6)
HSLhsl(68, 80%, 12%)
HSVhsv(68, 89%, 21%)
CMYKcmyk(11.3%, 0%, 88.7%, 79.2%)
CIE-LABlab(20.69, -9.87, 26.34)
CIE-LCHlch(20.69, 28.13, 110.55°)
OKLaboklab(31.29% -0.0299 0.0591)
OKLCHoklch(31.29% 0.066 116.8)
XYZxyz(2.4783, 3.1637, 0.6524)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3506 #0C0635
analogous
#352406 #2F3506 #183506
triadic
#2F3506 #062F35 #35062F
tetradic
#2F3506 #063524 #0C0635 #350618
square
#2F3506 #063524 #0C0635 #350618
split-complementary
#2F3506 #061835 #240635
monochromatic
#181B03 #181B03 #2F3506 #606C0C #91A312

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3506#FFFFFF#000000##FFFFFF
##2F35061.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)
#39320A
Tritanopia (blue-blind)
#33312C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f3506;
/* rgb */ color: rgb(47, 53, 6);
/* oklch */ color: oklch(31.3% 0.066 116.8);
Tailwind
colors: {
  custom: {
    50: '#696c4a',
    500: '#2f3506',
    950: '#000000',
  },
}
SCSS
$custom: #2f3506;
$custom-light: #696c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3506",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 6
  },
  "hsl": {
    "h": 67.66,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.3129,
    "c": 0.06625,
    "h": 116.8
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#2F3506
secondary
#2C2175
accent
#32F64B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3506

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

Preview Lab → · Contrast checker → · Palette generator →

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