#2F3201#2F3201

#2F3201 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.4% C 0.067 H 113.4°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#2F3201
RGBrgb(47, 50, 1)
HSLhsl(64, 96%, 10%)
HSVhsv(64, 98%, 20%)
CMYKcmyk(6%, 0%, 98%, 80.4%)
CIE-LABlab(19.59, -8.39, 27.14)
CIE-LCHlch(19.59, 28.41, 107.18°)
OKLaboklab(30.39% -0.0266 0.0615)
OKLCHoklch(30.39% 0.067 113.4)
XYZxyz(2.3185, 2.8878, 0.4640)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3201 #040132
analogous
#321C01 #2F3201 #173201
triadic
#2F3201 #012F32 #32012F
tetradic
#2F3201 #01321C #040132 #320117
square
#2F3201 #01321C #040132 #320117
split-complementary
#2F3201 #011732 #1C0132
monochromatic
#1C1E01 #1C1E01 #2F3201 #676E02 #A0AA03

Accessibility & contrast

On white

13.31
#2F3201 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2F3201 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3201
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3201#FFFFFF#000000##FFFFFF
##2F32011.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#373004
Tritanopia (blue-blind)
#332E29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f3201;
/* rgb */ color: rgb(47, 50, 1);
/* oklch */ color: oklch(30.4% 0.067 113.4);
Tailwind
colors: {
  custom: {
    50: '#696948',
    500: '#2f3201',
    950: '#000000',
  },
}
SCSS
$custom: #2f3201;
$custom-light: #696948;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3201",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 1
  },
  "hsl": {
    "h": 63.673,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.30394,
    "c": 0.06696,
    "h": 113.4
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#2F3201
secondary
#1D1777
accent
#29FF36
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2F3201

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

Preview Lab → · Contrast checker → · Palette generator →

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