#625212#625212

#625212 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.2% C 0.082 H 94.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#625212
RGBrgb(98, 82, 18)
HSLhsl(48, 69%, 23%)
HSVhsv(48, 82%, 38%)
CMYKcmyk(0%, 16.3%, 81.6%, 61.6%)
CIE-LABlab(35.35, -0.73, 37.43)
CIE-LCHlch(35.35, 37.44, 91.12°)
OKLaboklab(44.25% -0.0061 0.0819)
OKLCHoklch(44.25% 0.082 94.2)
XYZxyz(8.1639, 8.6754, 1.8167)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#625212 #122262
analogous
#622A12 #625212 #4A6212
triadic
#625212 #126252 #521262
tetradic
#625212 #12622A #122262 #62124A
square
#625212 #12622A #122262 #62124A
split-complementary
#625212 #124A62 #2A1262
monochromatic
#1A1605 #2E2709 #625212 #967D1B #C9A925

Accessibility & contrast

On white

7.68
#625212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#625212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #625212
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##625212#FFFFFF#000000##FFFFFF
##6252121.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5006
Deuteranopia (green-blind)
#605516
Tritanopia (blue-blind)
#6B4B46
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #625212;
/* rgb */ color: rgb(98, 82, 18);
/* oklch */ color: oklch(44.2% 0.082 94.2);
Tailwind
colors: {
  custom: {
    50: '#928256',
    500: '#625212',
    950: '#000000',
  },
}
SCSS
$custom: #625212;
$custom-light: #928256;
$custom-dark: #000000;
JSON
{
  "hex": "#625212",
  "rgb": {
    "r": 98,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 48,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44248,
    "c": 0.0821,
    "h": 94.2
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

primary
#625212
secondary
#364A9A
accent
#5FEC3C
background
#F9F7F5
surface
#F2EEE9
border
#CCC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #625212

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

Preview Lab → · Contrast checker → · Palette generator →

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