#2F360B#2F360B

#2F360B is a dark, moderate yellow. Relative luminance 0.033; OKLCH L 31.6% C 0.063 H 118.2°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#2F360B
RGBrgb(47, 54, 11)
HSLhsl(70, 66%, 13%)
HSVhsv(70, 80%, 21%)
CMYKcmyk(13%, 0%, 79.6%, 78.8%)
CIE-LABlab(21.08, -10.12, 24.72)
CIE-LCHlch(21.08, 26.72, 112.26°)
OKLaboklab(31.62% -0.0299 0.0559)
OKLCHoklch(31.62% 0.063 118.2)
XYZxyz(2.5519, 3.2669, 0.8127)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F360B #120B36
analogous
#36270B #2F360B #1A360B
triadic
#2F360B #0B2F36 #360B2F
tetradic
#2F360B #0B3627 #120B36 #360B1A
square
#2F360B #0B3627 #120B36 #360B1A
split-complementary
#2F360B #0B1A36 #270B36
monochromatic
#161905 #161905 #2F360B #5B6915 #889C20

Accessibility & contrast

On white

12.70
#2F360B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2F360B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F360B
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F360B#FFFFFF#000000##FFFFFF
##2F360B1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3305
Deuteranopia (green-blind)
#39330E
Tritanopia (blue-blind)
#32332D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f360b;
/* rgb */ color: rgb(47, 54, 11);
/* oklch */ color: oklch(31.6% 0.063 118.2);
Tailwind
colors: {
  custom: {
    50: '#696c4d',
    500: '#2f360b',
    950: '#000000',
  },
}
SCSS
$custom: #2f360b;
$custom-light: #696c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f360b",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 11
  },
  "hsl": {
    "h": 69.767,
    "s": 66.154,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31621,
    "c": 0.06343,
    "h": 118.2
  },
  "luminance": 0.03267
}

Semantic roles & 50–950 ramp

primary
#2F360B
secondary
#362A73
accent
#3FE95A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F360B

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

Preview Lab → · Contrast checker → · Palette generator →

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