#625A18#625A18

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

Color values

HEX#625A18
RGBrgb(98, 90, 24)
HSLhsl(54, 61%, 24%)
HSVhsv(54, 76%, 38%)
CMYKcmyk(0%, 8.2%, 75.5%, 61.6%)
CIE-LABlab(37.80, -5.19, 37.29)
CIE-LCHlch(37.80, 37.65, 97.93°)
OKLaboklab(46.2% -0.018 0.0829)
OKLCHoklch(46.2% 0.085 102.3)
XYZxyz(8.8584, 9.9753, 2.3228)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#625A18 #182062
analogous
#623518 #625A18 #456218
triadic
#625A18 #18625A #5A1862
tetradic
#625A18 #186235 #182062 #621845
square
#625A18 #186235 #182062 #621845
split-complementary
#625A18 #184562 #351862
monochromatic
#191706 #312D0C #625A18 #938724 #C4B430

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##625A18#FFFFFF#000000##FFFFFF
##625A181.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)
#63570E
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#6A534D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #625a18;
/* rgb */ color: rgb(98, 90, 24);
/* oklch */ color: oklch(46.2% 0.085 102.3);
Tailwind
colors: {
  custom: {
    50: '#91885a',
    500: '#625a18',
    950: '#000000',
  },
}
SCSS
$custom: #625a18;
$custom-light: #91885a;
$custom-dark: #000000;
JSON
{
  "hex": "#625a18",
  "rgb": {
    "r": 98,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 53.514,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.462,
    "c": 0.08481,
    "h": 102.3
  },
  "luminance": 0.09975
}

Semantic roles & 50–950 ramp

primary
#625A18
secondary
#3E4798
accent
#55E444
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #625A18

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

Preview Lab → · Contrast checker → · Palette generator →

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