#625F21#625F21

#625F21 is a mid, moderate yellow. Relative luminance 0.109; OKLCH L 47.5% C 0.083 H 106.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#625F21
RGBrgb(98, 95, 33)
HSLhsl(57, 50%, 26%)
HSVhsv(57, 66%, 38%)
CMYKcmyk(0%, 3.1%, 66.3%, 61.6%)
CIE-LABlab(39.40, -7.52, 34.80)
CIE-LCHlch(39.40, 35.61, 102.20°)
OKLaboklab(47.5% -0.0235 0.0793)
OKLCHoklch(47.5% 0.083 106.5)
XYZxyz(9.4040, 10.8912, 3.0454)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#625F21 #212462
analogous
#623E21 #625F21 #446221
triadic
#625F21 #21625F #5F2162
tetradic
#625F21 #21623E #212462 #622144
square
#625F21 #21623E #212462 #622144
split-complementary
#625F21 #214462 #3E2162
monochromatic
#171608 #343312 #625F21 #908B30 #BEB840

Accessibility & contrast

On white

6.61
#625F21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#625F21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #625F21
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##625F21#FFFFFF#000000##FFFFFF
##625F211.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B19
Deuteranopia (green-blind)
#695E25
Tritanopia (blue-blind)
#695952
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #625f21;
/* rgb */ color: rgb(98, 95, 33);
/* oklch */ color: oklch(47.5% 0.083 106.5);
Tailwind
colors: {
  custom: {
    50: '#918c60',
    500: '#625f21',
    950: '#000000',
  },
}
SCSS
$custom: #625f21;
$custom-light: #918c60;
$custom-dark: #000000;
JSON
{
  "hex": "#625f21",
  "rgb": {
    "r": 98,
    "g": 95,
    "b": 33
  },
  "hsl": {
    "h": 57.231,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47496,
    "c": 0.08268,
    "h": 106.5
  },
  "luminance": 0.10891
}

Semantic roles & 50–950 ramp

primary
#625F21
secondary
#494C96
accent
#55D94F
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C05
muted
#7E7D79

Preview Lab

Preview with #625F21

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

Preview Lab → · Contrast checker → · Palette generator →

#625F21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva