#625717#625717

#625717 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.5% C 0.083 H 99.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#625717
RGBrgb(98, 87, 23)
HSLhsl(51, 62%, 24%)
HSVhsv(51, 77%, 38%)
CMYKcmyk(0%, 11.2%, 76.5%, 61.6%)
CIE-LABlab(36.88, -3.48, 36.82)
CIE-LCHlch(36.88, 36.98, 95.39°)
OKLaboklab(45.47% -0.0133 0.0817)
OKLCHoklch(45.47% 0.083 99.2)
XYZxyz(8.6003, 9.4753, 2.1864)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#625717 #172262
analogous
#623117 #625717 #476217
triadic
#625717 #176257 #571762
tetradic
#625717 #176231 #172262 #621747
square
#625717 #176231 #172262 #621747
split-complementary
#625717 #174762 #311762
monochromatic
#191606 #302B0B #625717 #948323 #C5AF2E

Accessibility & contrast

On white

7.25
#625717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#625717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #625717
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##625717#FFFFFF#000000##FFFFFF
##6257171.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550D
Deuteranopia (green-blind)
#63581B
Tritanopia (blue-blind)
#6A504A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #625717;
/* rgb */ color: rgb(98, 87, 23);
/* oklch */ color: oklch(45.5% 0.083 99.2);
Tailwind
colors: {
  custom: {
    50: '#918659',
    500: '#625717',
    950: '#000000',
  },
}
SCSS
$custom: #625717;
$custom-light: #918659;
$custom-dark: #000000;
JSON
{
  "hex": "#625717",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 23
  },
  "hsl": {
    "h": 51.2,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45472,
    "c": 0.08274,
    "h": 99.2
  },
  "luminance": 0.09475
}

Semantic roles & 50–950 ramp

primary
#625717
secondary
#3C4A99
accent
#5BE543
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #625717

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

Preview Lab → · Contrast checker → · Palette generator →

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