#332F03#332F03

#332F03 is a dark, moderate yellow. Relative luminance 0.027; OKLCH L 30.0% C 0.060 H 104.1°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#332F03
RGBrgb(51, 47, 3)
HSLhsl(55, 89%, 11%)
HSVhsv(55, 94%, 20%)
CMYKcmyk(0%, 7.8%, 94.1%, 80%)
CIE-LABlab(18.99, -4.15, 25.73)
CIE-LCHlch(18.99, 26.07, 99.16°)
OKLaboklab(30.02% -0.0147 0.0587)
OKLCHoklch(30.02% 0.06 104.1)
XYZxyz(2.3983, 2.7435, 0.4894)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332F03 #030733
analogous
#331703 #332F03 #1F3303
triadic
#332F03 #03332F #2F0333
tetradic
#332F03 #033317 #030733 #33031F
square
#332F03 #033317 #030733 #33031F
split-complementary
#332F03 #031F33 #170333
monochromatic
#1D1B02 #1D1B02 #332F03 #6D6406 #A79A0A

Accessibility & contrast

On white

13.56
#332F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#332F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332F03
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332F03#FFFFFF#000000##FFFFFF
##332F031.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D00
Deuteranopia (green-blind)
#362F06
Tritanopia (blue-blind)
#382B27
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #332f03;
/* rgb */ color: rgb(51, 47, 3);
/* oklch */ color: oklch(30.0% 0.060 104.1);
Tailwind
colors: {
  custom: {
    50: '#6d6748',
    500: '#332f03',
    950: '#000000',
  },
}
SCSS
$custom: #332f03;
$custom-light: #6d6748;
$custom-dark: #000000;
JSON
{
  "hex": "#332f03",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 55,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30019,
    "c": 0.06048,
    "h": 104.1
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#332F03
secondary
#1C2376
accent
#3BFF29
background
#F6F6F4
surface
#ECEBE6
border
#C7C6C2
text
#070601
muted
#7A7A77

Preview Lab

Preview with #332F03

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

Preview Lab → · Contrast checker → · Palette generator →

#332F03 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva