#625A17#625A17

#625A17 is a mid, moderate yellow. Relative luminance 0.100; OKLCH L 46.2% C 0.086 H 102.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#625A17
RGBrgb(98, 90, 23)
HSLhsl(54, 62%, 24%)
HSVhsv(54, 77%, 38%)
CMYKcmyk(0%, 8.2%, 76.5%, 61.6%)
CIE-LABlab(37.79, -5.25, 37.71)
CIE-LCHlch(37.79, 38.07, 97.92°)
OKLaboklab(46.19% -0.0183 0.0836)
OKLCHoklch(46.19% 0.086 102.3)
XYZxyz(8.8482, 9.9712, 2.2690)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#625A17 #171F62
analogous
#623417 #625A17 #446217
triadic
#625A17 #17625A #5A1762
tetradic
#625A17 #176234 #171F62 #621744
square
#625A17 #176234 #171F62 #621744
split-complementary
#625A17 #174462 #341762
monochromatic
#191706 #302C0B #625A17 #948823 #C5B52E

Accessibility & contrast

On white

7.01
#625A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#625A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #625A17
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##625A17#FFFFFF#000000##FFFFFF
##625A171.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570C
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#6A534D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #625a17;
/* rgb */ color: rgb(98, 90, 23);
/* oklch */ color: oklch(46.2% 0.086 102.3);
Tailwind
colors: {
  custom: {
    50: '#918859',
    500: '#625a17',
    950: '#000000',
  },
}
SCSS
$custom: #625a17;
$custom-light: #918859;
$custom-dark: #000000;
JSON
{
  "hex": "#625a17",
  "rgb": {
    "r": 98,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 53.6,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46192,
    "c": 0.08553,
    "h": 102.3
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#625A17
secondary
#3C4699
accent
#54E543
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #625A17

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

Preview Lab → · Contrast checker → · Palette generator →

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