#625B18#625B18

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

Color values

HEX#625B18
RGBrgb(98, 91, 24)
HSLhsl(54, 61%, 24%)
HSVhsv(54, 76%, 38%)
CMYKcmyk(0%, 7.1%, 75.5%, 61.6%)
CIE-LABlab(38.10, -5.78, 37.59)
CIE-LCHlch(38.10, 38.03, 98.74°)
OKLaboklab(46.44% -0.0197 0.0835)
OKLCHoklch(46.44% 0.086 103.3)
XYZxyz(8.9433, 10.1452, 2.3511)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#625B18 #181F62
analogous
#623618 #625B18 #446218
triadic
#625B18 #18625B #5B1862
tetradic
#625B18 #186236 #181F62 #621844
square
#625B18 #186236 #181F62 #621844
split-complementary
#625B18 #184462 #361862
monochromatic
#191706 #312D0C #625B18 #938924 #C4B630

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##625B18#FFFFFF#000000##FFFFFF
##625B181.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)
#64580D
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#6A544E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #625b18;
/* rgb */ color: rgb(98, 91, 24);
/* oklch */ color: oklch(46.4% 0.086 103.3);
Tailwind
colors: {
  custom: {
    50: '#91895a',
    500: '#625b18',
    950: '#000000',
  },
}
SCSS
$custom: #625b18;
$custom-light: #91895a;
$custom-dark: #000000;
JSON
{
  "hex": "#625b18",
  "rgb": {
    "r": 98,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 54.324,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46442,
    "c": 0.08579,
    "h": 103.3
  },
  "luminance": 0.10145
}

Semantic roles & 50–950 ramp

primary
#625B18
secondary
#3E4698
accent
#53E444
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #625B18

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

Preview Lab → · Contrast checker → · Palette generator →

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