#3E4107#3E4107

#3E4107 is a dark, moderate yellow. Relative luminance 0.048; OKLCH L 36.1% C 0.075 H 112.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#3E4107
RGBrgb(62, 65, 7)
HSLhsl(63, 81%, 14%)
HSVhsv(63, 89%, 25%)
CMYKcmyk(4.6%, 0%, 89.2%, 74.5%)
CIE-LABlab(26.22, -9.28, 31.97)
CIE-LCHlch(26.22, 33.29, 106.19°)
OKLaboklab(36.08% -0.0291 0.0695)
OKLCHoklch(36.08% 0.075 112.7)
XYZxyz(3.9154, 4.8202, 0.9251)
Luminance0.0482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4107 #0A0741
analogous
#412707 #3E4107 #214107
triadic
#3E4107 #073E41 #41073E
tetradic
#3E4107 #074127 #0A0741 #410721
square
#3E4107 #074127 #0A0741 #410721
split-complementary
#3E4107 #072141 #270741
monochromatic
#1A1C03 #1A1C03 #3E4107 #73780D #A7B013

Accessibility & contrast

On white

10.69
#3E4107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3E4107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4107
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4107#FFFFFF#000000##FFFFFF
##3E41071.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473D00
Deuteranopia (green-blind)
#473F0C
Tritanopia (blue-blind)
#433C36
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e4107;
/* rgb */ color: rgb(62, 65, 7);
/* oklch */ color: oklch(36.1% 0.075 112.7);
Tailwind
colors: {
  custom: {
    50: '#76754d',
    500: '#3e4107',
    950: '#000000',
  },
}
SCSS
$custom: #3e4107;
$custom-light: #76754d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4107",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 7
  },
  "hsl": {
    "h": 63.103,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.36075,
    "c": 0.07533,
    "h": 112.7
  },
  "luminance": 0.0482
}

Semantic roles & 50–950 ramp

primary
#3E4107
secondary
#282480
accent
#31F73B
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #3E4107

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

Preview Lab → · Contrast checker → · Palette generator →

#3E4107 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva