#2F3401#2F3401

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

Color values

HEX#2F3401
RGBrgb(47, 52, 1)
HSLhsl(66, 96%, 10%)
HSVhsv(66, 98%, 20%)
CMYKcmyk(9.6%, 0%, 98.1%, 79.6%)
CIE-LABlab(20.29, -9.63, 27.93)
CIE-LCHlch(20.29, 29.55, 109.02°)
OKLaboklab(30.96% -0.03 0.0627)
OKLCHoklch(30.96% 0.069 115.5)
XYZxyz(2.4058, 3.0626, 0.4931)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3401 #060134
analogous
#341F01 #2F3401 #153401
triadic
#2F3401 #012F34 #34012F
tetradic
#2F3401 #01341F #060134 #340115
square
#2F3401 #01341F #060134 #340115
split-complementary
#2F3401 #011534 #1F0134
monochromatic
#1B1E01 #1B1E01 #2F3401 #657002 #9CAC03

Accessibility & contrast

On white

13.02
#2F3401 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3401
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3401#FFFFFF#000000##FFFFFF
##2F34011.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3401;
/* rgb */ color: rgb(47, 52, 1);
/* oklch */ color: oklch(31.0% 0.069 115.5);
Tailwind
colors: {
  custom: {
    50: '#696b48',
    500: '#2f3401',
    950: '#000000',
  },
}
SCSS
$custom: #2f3401;
$custom-light: #696b48;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3401",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 1
  },
  "hsl": {
    "h": 65.882,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.30959,
    "c": 0.06948,
    "h": 115.5
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#2F3401
secondary
#211879
accent
#29FF3E
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2F3401

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

Preview Lab → · Contrast checker → · Palette generator →

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