#625B17#625B17

#625B17 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.4% C 0.087 H 103.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#625B17
RGBrgb(98, 91, 23)
HSLhsl(54, 62%, 24%)
HSVhsv(54, 77%, 38%)
CMYKcmyk(0%, 7.1%, 76.5%, 61.6%)
CIE-LABlab(38.09, -5.84, 38.00)
CIE-LCHlch(38.09, 38.45, 98.73°)
OKLaboklab(46.43% -0.0199 0.0842)
OKLCHoklch(46.43% 0.087 103.3)
XYZxyz(8.9331, 10.1411, 2.2973)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#625B17 #171E62
analogous
#623517 #625B17 #436217
triadic
#625B17 #17625B #5B1762
tetradic
#625B17 #176235 #171E62 #621743
square
#625B17 #176235 #171E62 #621743
split-complementary
#625B17 #174362 #351762
monochromatic
#191706 #302D0B #625B17 #948923 #C5B72E

Accessibility & contrast

On white

6.93
#625B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#625B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #625B17
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##625B17#FFFFFF#000000##FFFFFF
##625B171.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580B
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#6A544E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #625b17;
/* rgb */ color: rgb(98, 91, 23);
/* oklch */ color: oklch(46.4% 0.087 103.3);
Tailwind
colors: {
  custom: {
    50: '#918959',
    500: '#625b17',
    950: '#000000',
  },
}
SCSS
$custom: #625b17;
$custom-light: #918959;
$custom-dark: #000000;
JSON
{
  "hex": "#625b17",
  "rgb": {
    "r": 98,
    "g": 91,
    "b": 23
  },
  "hsl": {
    "h": 54.4,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46434,
    "c": 0.08651,
    "h": 103.3
  },
  "luminance": 0.10141
}

Semantic roles & 50–950 ramp

primary
#625B17
secondary
#3C4599
accent
#52E543
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #625B17

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

Preview Lab → · Contrast checker → · Palette generator →

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