#2F360A#2F360A

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

Color values

HEX#2F360A
RGBrgb(47, 54, 10)
HSLhsl(70, 69%, 13%)
HSVhsv(70, 81%, 21%)
CMYKcmyk(13%, 0%, 81.5%, 78.8%)
CIE-LABlab(21.07, -10.19, 25.13)
CIE-LCHlch(21.07, 27.12, 112.07°)
OKLaboklab(31.61% -0.0303 0.0567)
OKLCHoklch(31.61% 0.064 118.1)
XYZxyz(2.5463, 3.2646, 0.7831)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F360A #110A36
analogous
#36270A #2F360A #19360A
triadic
#2F360A #0A2F36 #360A2F
tetradic
#2F360A #0A3627 #110A36 #360A19
square
#2F360A #0A3627 #110A36 #360A19
split-complementary
#2F360A #0A1936 #270A36
monochromatic
#161A05 #161A05 #2F360A #5C6A14 #899D1D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F360A#FFFFFF#000000##FFFFFF
##2F360A1.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)
#3A3304
Deuteranopia (green-blind)
#39330D
Tritanopia (blue-blind)
#32332D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f360a;
/* rgb */ color: rgb(47, 54, 10);
/* oklch */ color: oklch(31.6% 0.064 118.1);
Tailwind
colors: {
  custom: {
    50: '#696c4c',
    500: '#2f360a',
    950: '#000000',
  },
}
SCSS
$custom: #2f360a;
$custom-light: #696c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f360a",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 10
  },
  "hsl": {
    "h": 69.545,
    "s": 68.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.31611,
    "c": 0.06427,
    "h": 118.1
  },
  "luminance": 0.03265
}

Semantic roles & 50–950 ramp

primary
#2F360A
secondary
#342873
accent
#3CEC58
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F360A

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

Preview Lab → · Contrast checker → · Palette generator →

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