#625D17#625D17

#625D17 is a mid, moderate yellow. Relative luminance 0.105; OKLCH L 46.9% C 0.089 H 105.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#625D17
RGBrgb(98, 93, 23)
HSLhsl(56, 62%, 24%)
HSVhsv(56, 77%, 38%)
CMYKcmyk(0%, 5.1%, 76.5%, 61.6%)
CIE-LABlab(38.70, -7.00, 38.59)
CIE-LCHlch(38.70, 39.22, 100.28°)
OKLaboklab(46.92% -0.0232 0.0854)
OKLCHoklch(46.92% 0.089 105.2)
XYZxyz(9.1064, 10.4876, 2.3551)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#625D17 #171C62
analogous
#623717 #625D17 #416217
triadic
#625D17 #17625D #5D1762
tetradic
#625D17 #176237 #171C62 #621741
square
#625D17 #176237 #171C62 #621741
split-complementary
#625D17 #174162 #371762
monochromatic
#191806 #302E0B #625D17 #948C23 #C5BB2E

Accessibility & contrast

On white

6.78
#625D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#625D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #625D17
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##625D17#FFFFFF#000000##FFFFFF
##625D171.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66590B
Deuteranopia (green-blind)
#685C1C
Tritanopia (blue-blind)
#6A564F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #625d17;
/* rgb */ color: rgb(98, 93, 23);
/* oklch */ color: oklch(46.9% 0.089 105.2);
Tailwind
colors: {
  custom: {
    50: '#918a5a',
    500: '#625d17',
    950: '#000000',
  },
}
SCSS
$custom: #625d17;
$custom-light: #918a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#625d17",
  "rgb": {
    "r": 98,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 56,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46918,
    "c": 0.08853,
    "h": 105.2
  },
  "luminance": 0.10487
}

Semantic roles & 50–950 ramp

primary
#625D17
secondary
#3C4299
accent
#4EE543
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #625D17

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

Preview Lab → · Contrast checker → · Palette generator →

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