#332F07#332F07

#332F07 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.1% C 0.057 H 103.5°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#332F07
RGBrgb(51, 47, 7)
HSLhsl(55, 76%, 11%)
HSVhsv(55, 86%, 20%)
CMYKcmyk(0%, 7.8%, 86.3%, 80%)
CIE-LABlab(19.02, -3.86, 24.15)
CIE-LCHlch(19.02, 24.46, 99.09°)
OKLaboklab(30.06% -0.0132 0.0551)
OKLCHoklch(30.06% 0.057 103.5)
XYZxyz(2.4202, 2.7523, 0.6047)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332F07 #070B33
analogous
#331907 #332F07 #213307
triadic
#332F07 #07332F #2F0733
tetradic
#332F07 #073319 #070B33 #330721
square
#332F07 #073319 #070B33 #330721
split-complementary
#332F07 #072133 #190733
monochromatic
#1B1904 #1B1904 #332F07 #69610E #9F9216

Accessibility & contrast

On white

13.54
#332F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332F07
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332F07#FFFFFF#000000##FFFFFF
##332F071.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D02
Deuteranopia (green-blind)
#352F0A
Tritanopia (blue-blind)
#382B27
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #332f07;
/* rgb */ color: rgb(51, 47, 7);
/* oklch */ color: oklch(30.1% 0.057 103.5);
Tailwind
colors: {
  custom: {
    50: '#6c674a',
    500: '#332f07',
    950: '#000000',
  },
}
SCSS
$custom: #332f07;
$custom-light: #6c674a;
$custom-dark: #000000;
JSON
{
  "hex": "#332f07",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 54.545,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.3006,
    "c": 0.05666,
    "h": 103.5
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#332F07
secondary
#232A73
accent
#47F235
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #332F07

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

Preview Lab → · Contrast checker → · Palette generator →

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