#2F3407#2F3407

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

Color values

HEX#2F3407
RGBrgb(47, 52, 7)
HSLhsl(67, 76%, 12%)
HSVhsv(67, 87%, 20%)
CMYKcmyk(9.6%, 0%, 86.5%, 79.6%)
CIE-LABlab(20.34, -9.19, 25.55)
CIE-LCHlch(20.34, 27.15, 109.78°)
OKLaboklab(31.02% -0.0278 0.0576)
OKLCHoklch(31.02% 0.064 115.8)
XYZxyz(2.4387, 3.0757, 0.6662)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3407 #0C0734
analogous
#342307 #2F3407 #193407
triadic
#2F3407 #072F34 #34072F
tetradic
#2F3407 #073423 #0C0734 #340719
square
#2F3407 #073423 #0C0734 #340719
split-complementary
#2F3407 #071934 #230734
monochromatic
#181B04 #181B04 #2F3407 #606A0E #91A016

Accessibility & contrast

On white

13.00
#2F3407 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2F3407 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3407
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3407#FFFFFF#000000##FFFFFF
##2F34071.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3407;
/* rgb */ color: rgb(47, 52, 7);
/* oklch */ color: oklch(31.0% 0.064 115.8);
Tailwind
colors: {
  custom: {
    50: '#696b4b',
    500: '#2f3407',
    950: '#000000',
  },
}
SCSS
$custom: #2f3407;
$custom-light: #696b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3407",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 7
  },
  "hsl": {
    "h": 66.667,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31017,
    "c": 0.064,
    "h": 115.8
  },
  "luminance": 0.03076
}

Semantic roles & 50–950 ramp

primary
#2F3407
secondary
#2C2374
accent
#35F34A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3407

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

Preview Lab → · Contrast checker → · Palette generator →

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