#C5B738#C5B738

#C5B738 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.9% C 0.143 H 102.9°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#C5B738
RGBrgb(197, 183, 56)
HSLhsl(54, 56%, 50%)
HSVhsv(54, 72%, 77%)
CMYKcmyk(0%, 7.1%, 71.6%, 22.7%)
CIE-LABlab(73.56, -9.25, 62.75)
CIE-LCHlch(73.56, 63.43, 98.39°)
OKLaboklab(76.89% -0.0319 0.1391)
OKLCHoklch(76.89% 0.143 102.9)
XYZxyz(40.6750, 46.0245, 10.4817)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B738 #3846C5
analogous
#C57138 #C5B738 #8CC538
triadic
#C5B738 #38C5B7 #B738C5
tetradic
#C5B738 #38C571 #3846C5 #C5388C
square
#C5B738 #38C571 #3846C5 #C5388C
split-complementary
#C5B738 #388CC5 #7138C5
monochromatic
#665E1D #958B2A #C5B738 #D4C967 #E1DA96

Accessibility & contrast

On white

2.06
#C5B738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#C5B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B738
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B738#FFFFFF#000000##000000
##C5B7381.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B123
Deuteranopia (green-blind)
#CCB840
Tritanopia (blue-blind)
#D4AA9E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c5b738;
/* rgb */ color: rgb(197, 183, 56);
/* oklch */ color: oklch(76.9% 0.143 102.9);
Tailwind
colors: {
  custom: {
    50: '#dacc77',
    500: '#c5b738',
    950: '#000000',
  },
}
SCSS
$custom: #c5b738;
$custom-light: #dacc77;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b738",
  "rgb": {
    "r": 197,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 54.043,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76892,
    "c": 0.14269,
    "h": 102.9
  },
  "luminance": 0.46023
}

Semantic roles & 50–950 ramp

primary
#C5B738
secondary
#8C93CD
accent
#58DF49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B738

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

Preview Lab → · Contrast checker → · Palette generator →

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