#424312#424312

#424312 is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.1% C 0.069 H 110.4°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#424312
RGBrgb(66, 67, 18)
HSLhsl(61, 58%, 17%)
HSVhsv(61, 73%, 26%)
CMYKcmyk(1.5%, 0%, 73.1%, 73.7%)
CIE-LABlab(27.34, -7.79, 28.45)
CIE-LCHlch(27.34, 29.49, 105.32°)
OKLaboklab(37.1% -0.0239 0.0642)
OKLCHoklch(37.1% 0.069 110.4)
XYZxyz(4.3632, 5.2163, 1.3492)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424312 #131243
analogous
#432C12 #424312 #2A4312
triadic
#424312 #124243 #431242
tetradic
#424312 #12432C #131243 #43122A
square
#424312 #12432C #131243 #43122A
split-complementary
#424312 #122A43 #2C1243
monochromatic
#181806 #181806 #424312 #72731F #A1A32C

Accessibility & contrast

On white

10.28
#424312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#424312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424312
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424312#FFFFFF#000000##FFFFFF
##4243121.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400B
Deuteranopia (green-blind)
#494115
Tritanopia (blue-blind)
#473E39
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #424312;
/* rgb */ color: rgb(66, 67, 18);
/* oklch */ color: oklch(37.1% 0.069 110.4);
Tailwind
colors: {
  custom: {
    50: '#787753',
    500: '#424312',
    950: '#000000',
  },
}
SCSS
$custom: #424312;
$custom-light: #787753;
$custom-dark: #000000;
JSON
{
  "hex": "#424312",
  "rgb": {
    "r": 66,
    "g": 67,
    "b": 18
  },
  "hsl": {
    "h": 61.224,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37096,
    "c": 0.06853,
    "h": 110.4
  },
  "luminance": 0.05216
}

Semantic roles & 50–950 ramp

primary
#424312
secondary
#36357C
accent
#47E14A
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #424312

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

Preview Lab → · Contrast checker → · Palette generator →

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