#2F3503#2F3503

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

Color values

HEX#2F3503
RGBrgb(47, 53, 3)
HSLhsl(67, 89%, 11%)
HSVhsv(67, 94%, 21%)
CMYKcmyk(11.3%, 0%, 94.3%, 79.2%)
CIE-LABlab(20.66, -10.09, 27.53)
CIE-LCHlch(20.66, 29.32, 110.13°)
OKLaboklab(31.26% -0.0309 0.0616)
OKLCHoklch(31.26% 0.069 116.6)
XYZxyz(2.4619, 3.1572, 0.5658)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3503 #090335
analogous
#352203 #2F3503 #163503
triadic
#2F3503 #032F35 #35032F
tetradic
#2F3503 #033522 #090335 #350316
square
#2F3503 #033522 #090335 #350316
split-complementary
#2F3503 #031635 #220335
monochromatic
#1A1D02 #1A1D02 #2F3503 #626F06 #96A90A

Accessibility & contrast

On white

12.87
#2F3503 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3503
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3503#FFFFFF#000000##FFFFFF
##2F35031.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#393207
Tritanopia (blue-blind)
#33312C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f3503;
/* rgb */ color: rgb(47, 53, 3);
/* oklch */ color: oklch(31.3% 0.069 116.6);
Tailwind
colors: {
  custom: {
    50: '#696c49',
    500: '#2f3503',
    950: '#000000',
  },
}
SCSS
$custom: #2f3503;
$custom-light: #696c49;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3503",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 3
  },
  "hsl": {
    "h": 67.2,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.31262,
    "c": 0.06893,
    "h": 116.6
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#2F3503
secondary
#271C78
accent
#29FF43
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3503

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

Preview Lab → · Contrast checker → · Palette generator →

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