#394002#394002

#394002 is a dark, moderate yellow. Relative luminance 0.045; OKLCH L 35.3% C 0.080 H 116.6°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#394002
RGBrgb(57, 64, 2)
HSLhsl(67, 94%, 13%)
HSVhsv(67, 97%, 25%)
CMYKcmyk(10.9%, 0%, 96.9%, 74.9%)
CIE-LABlab(25.39, -11.54, 33.07)
CIE-LCHlch(25.39, 35.02, 109.23°)
OKLaboklab(35.28% -0.0356 0.0711)
OKLCHoklch(35.28% 0.08 116.6)
XYZxyz(3.5318, 4.5411, 0.7479)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394002 #090240
analogous
#402802 #394002 #1A4002
triadic
#394002 #023940 #400239
tetradic
#394002 #024028 #090240 #40021A
square
#394002 #024028 #090240 #40021A
split-complementary
#394002 #021A40 #280240
monochromatic
#1A1E01 #1A1E01 #394002 #6E7B04 #A3B706

Accessibility & contrast

On white

11.01
#394002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#394002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394002
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394002#FFFFFF#000000##FFFFFF
##3940021.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#453D08
Tritanopia (blue-blind)
#3D3C35
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #394002;
/* rgb */ color: rgb(57, 64, 2);
/* oklch */ color: oklch(35.3% 0.080 116.6);
Tailwind
colors: {
  custom: {
    50: '#72744a',
    500: '#394002',
    950: '#000000',
  },
}
SCSS
$custom: #394002;
$custom-light: #72744a;
$custom-dark: #000000;
JSON
{
  "hex": "#394002",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 2
  },
  "hsl": {
    "h": 66.774,
    "s": 93.939,
    "l": 12.941
  },
  "oklch": {
    "l": 0.35284,
    "c": 0.07951,
    "h": 116.6
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#394002
secondary
#271B83
accent
#29FF41
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080801
muted
#7B7B77

Preview Lab

Preview with #394002

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

Preview Lab → · Contrast checker → · Palette generator →

#394002 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva