#625C17#625C17

#625C17 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.7% C 0.088 H 104.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#625C17
RGBrgb(98, 92, 23)
HSLhsl(55, 62%, 24%)
HSVhsv(55, 77%, 38%)
CMYKcmyk(0%, 6.1%, 76.5%, 61.6%)
CIE-LABlab(38.40, -6.42, 38.30)
CIE-LCHlch(38.40, 38.83, 99.51°)
OKLaboklab(46.68% -0.0216 0.0848)
OKLCHoklch(46.68% 0.088 104.3)
XYZxyz(9.0192, 10.3132, 2.3260)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#625C17 #171D62
analogous
#623617 #625C17 #426217
triadic
#625C17 #17625C #5C1762
tetradic
#625C17 #176236 #171D62 #621742
square
#625C17 #176236 #171D62 #621742
split-complementary
#625C17 #174262 #361762
monochromatic
#191706 #302D0B #625C17 #948B23 #C5B92E

Accessibility & contrast

On white

6.86
#625C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#625C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #625C17
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##625C17#FFFFFF#000000##FFFFFF
##625C171.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590B
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#6A554E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #625c17;
/* rgb */ color: rgb(98, 92, 23);
/* oklch */ color: oklch(46.7% 0.088 104.3);
Tailwind
colors: {
  custom: {
    50: '#918959',
    500: '#625c17',
    950: '#000000',
  },
}
SCSS
$custom: #625c17;
$custom-light: #918959;
$custom-dark: #000000;
JSON
{
  "hex": "#625c17",
  "rgb": {
    "r": 98,
    "g": 92,
    "b": 23
  },
  "hsl": {
    "h": 55.2,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46676,
    "c": 0.08751,
    "h": 104.3
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#625C17
secondary
#3C4499
accent
#50E543
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #625C17

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

Preview Lab → · Contrast checker → · Palette generator →

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