#2F3203#2F3203

#2F3203 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.4% C 0.065 H 113.4°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#2F3203
RGBrgb(47, 50, 3)
HSLhsl(64, 89%, 10%)
HSVhsv(64, 94%, 20%)
CMYKcmyk(6%, 0%, 94%, 80.4%)
CIE-LABlab(19.61, -8.24, 26.34)
CIE-LCHlch(19.61, 27.60, 107.38°)
OKLaboklab(30.41% -0.0258 0.0597)
OKLCHoklch(30.41% 0.065 113.4)
XYZxyz(2.3294, 2.8922, 0.5217)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3203 #060332
analogous
#321D03 #2F3203 #173203
triadic
#2F3203 #032F32 #32032F
tetradic
#2F3203 #03321D #060332 #320317
square
#2F3203 #03321D #060332 #320317
split-complementary
#2F3203 #031732 #1D0332
monochromatic
#1B1D02 #1B1D02 #2F3203 #656C06 #9CA50A

Accessibility & contrast

On white

13.30
#2F3203 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2F3203 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3203
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3203#FFFFFF#000000##FFFFFF
##2F32031.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#373006
Tritanopia (blue-blind)
#332E29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f3203;
/* rgb */ color: rgb(47, 50, 3);
/* oklch */ color: oklch(30.4% 0.065 113.4);
Tailwind
colors: {
  custom: {
    50: '#696949',
    500: '#2f3203',
    950: '#000000',
  },
}
SCSS
$custom: #2f3203;
$custom-light: #696949;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3203",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 3
  },
  "hsl": {
    "h": 63.83,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.30414,
    "c": 0.06502,
    "h": 113.4
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#2F3203
secondary
#211B75
accent
#29FF37
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3203

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

Preview Lab → · Contrast checker → · Palette generator →

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