#624E12#624E12

#624E12 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.3% C 0.080 H 89.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#624E12
RGBrgb(98, 78, 18)
HSLhsl(45, 69%, 23%)
HSVhsv(45, 82%, 38%)
CMYKcmyk(0%, 20.4%, 81.6%, 61.6%)
CIE-LABlab(34.17, 1.69, 36.33)
CIE-LCHlch(34.17, 36.36, 87.33°)
OKLaboklab(43.32% 0.0009 0.0795)
OKLCHoklch(43.32% 0.08 89.4)
XYZxyz(7.8710, 8.0896, 1.7190)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#624E12 #122662
analogous
#622612 #624E12 #4E6212
triadic
#624E12 #12624E #4E1262
tetradic
#624E12 #126226 #122662 #62124E
square
#624E12 #126226 #122662 #62124E
split-complementary
#624E12 #124E62 #261262
monochromatic
#1A1505 #2E2509 #624E12 #96771B #C9A025

Accessibility & contrast

On white

8.02
#624E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#624E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #624E12
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##624E12#FFFFFF#000000##FFFFFF
##624E121.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D07
Deuteranopia (green-blind)
#5D5315
Tritanopia (blue-blind)
#6B4742
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #624e12;
/* rgb */ color: rgb(98, 78, 18);
/* oklch */ color: oklch(43.3% 0.080 89.4);
Tailwind
colors: {
  custom: {
    50: '#927f55',
    500: '#624e12',
    950: '#000000',
  },
}
SCSS
$custom: #624e12;
$custom-light: #927f55;
$custom-dark: #000000;
JSON
{
  "hex": "#624e12",
  "rgb": {
    "r": 98,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 45,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43315,
    "c": 0.07952,
    "h": 89.4
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#624E12
secondary
#364F9A
accent
#68EC3C
background
#F9F7F5
surface
#F2EEE9
border
#CCC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #624E12

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

Preview Lab → · Contrast checker → · Palette generator →

#624E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva