#392F02#392F02

#392F02 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.7% C 0.061 H 95.7°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#392F02
RGBrgb(57, 47, 2)
HSLhsl(49, 93%, 12%)
HSVhsv(49, 96%, 22%)
CMYKcmyk(0%, 17.5%, 96.5%, 77.6%)
CIE-LABlab(19.67, -0.90, 27.11)
CIE-LCHlch(19.67, 27.12, 91.91°)
OKLaboklab(30.72% -0.0061 0.061)
OKLCHoklch(30.72% 0.061 95.7)
XYZxyz(2.7150, 2.9074, 0.4756)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392F02 #020C39
analogous
#391402 #392F02 #283902
triadic
#392F02 #02392F #2F0239
tetradic
#392F02 #023914 #020C39 #390228
square
#392F02 #023914 #020C39 #390228
split-complementary
#392F02 #022839 #140239
monochromatic
#1E1801 #1E1801 #392F02 #746004 #AF9106

Accessibility & contrast

On white

13.28
#392F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#392F02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392F02
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392F02#FFFFFF#000000##FFFFFF
##392F021.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E00
Deuteranopia (green-blind)
#383104
Tritanopia (blue-blind)
#3F2A27
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #392f02;
/* rgb */ color: rgb(57, 47, 2);
/* oklch */ color: oklch(30.7% 0.061 95.7);
Tailwind
colors: {
  custom: {
    50: '#726748',
    500: '#392f02',
    950: '#000000',
  },
}
SCSS
$custom: #392f02;
$custom-light: #726748;
$custom-dark: #000000;
JSON
{
  "hex": "#392f02",
  "rgb": {
    "r": 57,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 49.091,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30721,
    "c": 0.06132,
    "h": 95.7
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#392F02
secondary
#1A2C7D
accent
#50FF29
background
#F7F6F4
surface
#EDEBE6
border
#C8C6C2
text
#080600
muted
#7B7A77

Preview Lab

Preview with #392F02

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

Preview Lab → · Contrast checker → · Palette generator →

#392F02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva