#2F3705#2F3705

#2F3705 is a dark, moderate yellow. Relative luminance 0.033; OKLCH L 31.8% C 0.070 H 118.7°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#2F3705
RGBrgb(47, 55, 5)
HSLhsl(70, 83%, 12%)
HSVhsv(70, 91%, 22%)
CMYKcmyk(14.5%, 0%, 90.9%, 78.4%)
CIE-LABlab(21.39, -11.15, 27.51)
CIE-LCHlch(21.39, 29.69, 112.07°)
OKLaboklab(31.85% -0.0335 0.0613)
OKLCHoklch(31.85% 0.07 118.7)
XYZxyz(2.5659, 3.3477, 0.6545)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3705 #0D0537
analogous
#372605 #2F3705 #163705
triadic
#2F3705 #052F37 #37052F
tetradic
#2F3705 #053726 #0D0537 #370516
square
#2F3705 #053726 #0D0537 #370516
split-complementary
#2F3705 #051637 #260537
monochromatic
#181C03 #181C03 #2F3705 #5F6F0A #8FA70F

Accessibility & contrast

On white

12.58
#2F3705 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2F3705 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3705
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3705#FFFFFF#000000##FFFFFF
##2F37051.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#3A3409
Tritanopia (blue-blind)
#32332E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f3705;
/* rgb */ color: rgb(47, 55, 5);
/* oklch */ color: oklch(31.8% 0.070 118.7);
Tailwind
colors: {
  custom: {
    50: '#696d4a',
    500: '#2f3705',
    950: '#000000',
  },
}
SCSS
$custom: #2f3705;
$custom-light: #696d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3705",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 5
  },
  "hsl": {
    "h": 69.6,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.31849,
    "c": 0.06988,
    "h": 118.7
  },
  "luminance": 0.03348
}

Semantic roles & 50–950 ramp

primary
#2F3705
secondary
#2E2078
accent
#2EFA4F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3705

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

Preview Lab → · Contrast checker → · Palette generator →

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