#332E07#332E07

#332E07 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.8% C 0.056 H 101.8°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#332E07
RGBrgb(51, 46, 7)
HSLhsl(53, 76%, 11%)
HSVhsv(53, 86%, 20%)
CMYKcmyk(0%, 9.8%, 86.3%, 80%)
CIE-LABlab(18.68, -3.21, 23.75)
CIE-LCHlch(18.68, 23.97, 97.69°)
OKLaboklab(29.79% -0.0114 0.0544)
OKLCHoklch(29.79% 0.056 101.8)
XYZxyz(2.3807, 2.6732, 0.5916)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332E07 #070C33
analogous
#331807 #332E07 #223307
triadic
#332E07 #07332E #2E0733
tetradic
#332E07 #073318 #070C33 #330722
square
#332E07 #073318 #070C33 #330722
split-complementary
#332E07 #072233 #180733
monochromatic
#1B1804 #1B1804 #332E07 #695F0E #9F8F16

Accessibility & contrast

On white

13.68
#332E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#332E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332E07
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332E07#FFFFFF#000000##FFFFFF
##332E071.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C03
Deuteranopia (green-blind)
#352E09
Tritanopia (blue-blind)
#382A26
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #332e07;
/* rgb */ color: rgb(51, 46, 7);
/* oklch */ color: oklch(29.8% 0.056 101.8);
Tailwind
colors: {
  custom: {
    50: '#6c664a',
    500: '#332e07',
    950: '#000000',
  },
}
SCSS
$custom: #332e07;
$custom-light: #6c664a;
$custom-dark: #000000;
JSON
{
  "hex": "#332e07",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 7
  },
  "hsl": {
    "h": 53.182,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29791,
    "c": 0.05558,
    "h": 101.8
  },
  "luminance": 0.02673
}

Semantic roles & 50–950 ramp

primary
#332E07
secondary
#232C73
accent
#4BF235
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #332E07

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

Preview Lab → · Contrast checker → · Palette generator →

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