#624F12#624F12

#624F12 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.5% C 0.080 H 90.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#624F12
RGBrgb(98, 79, 18)
HSLhsl(46, 69%, 23%)
HSVhsv(46, 82%, 38%)
CMYKcmyk(0%, 19.4%, 81.6%, 61.6%)
CIE-LABlab(34.46, 1.08, 36.60)
CIE-LCHlch(34.46, 36.62, 88.30°)
OKLaboklab(43.55% -0.0009 0.0801)
OKLCHoklch(43.55% 0.08 90.6)
XYZxyz(7.9426, 8.2328, 1.7429)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#624F12 #122562
analogous
#622712 #624F12 #4D6212
triadic
#624F12 #12624F #4F1262
tetradic
#624F12 #126227 #122562 #62124D
square
#624F12 #126227 #122562 #62124D
split-complementary
#624F12 #124D62 #271262
monochromatic
#1A1505 #2E2509 #624F12 #96791B #C9A225

Accessibility & contrast

On white

7.94
#624F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#624F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #624F12
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##624F12#FFFFFF#000000##FFFFFF
##624F121.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E07
Deuteranopia (green-blind)
#5E5316
Tritanopia (blue-blind)
#6B4843
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #624f12;
/* rgb */ color: rgb(98, 79, 18);
/* oklch */ color: oklch(43.5% 0.080 90.6);
Tailwind
colors: {
  custom: {
    50: '#928055',
    500: '#624f12',
    950: '#000000',
  },
}
SCSS
$custom: #624f12;
$custom-light: #928055;
$custom-dark: #000000;
JSON
{
  "hex": "#624f12",
  "rgb": {
    "r": 98,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 45.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43547,
    "c": 0.08011,
    "h": 90.6
  },
  "luminance": 0.08232
}

Semantic roles & 50–950 ramp

primary
#624F12
secondary
#364E9A
accent
#66EC3C
background
#F9F7F5
surface
#F2EEE9
border
#CCC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #624F12

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

Preview Lab → · Contrast checker → · Palette generator →

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