#C8B638#C8B638

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

Color values

HEX#C8B638
RGBrgb(200, 182, 56)
HSLhsl(53, 57%, 50%)
HSVhsv(53, 72%, 78%)
CMYKcmyk(0%, 9%, 72%, 21.6%)
CIE-LABlab(73.56, -7.44, 62.84)
CIE-LCHlch(73.56, 63.28, 96.75°)
OKLaboklab(76.95% -0.0269 0.1392)
OKLCHoklch(76.95% 0.142 100.9)
XYZxyz(41.2631, 46.0227, 10.4504)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B638 #384AC8
analogous
#C86E38 #C8B638 #92C838
triadic
#C8B638 #38C8B6 #B638C8
tetradic
#C8B638 #38C86E #384AC8 #C83892
square
#C8B638 #38C86E #384AC8 #C83892
split-complementary
#C8B638 #3892C8 #6E38C8
monochromatic
#695F1D #998B2A #C8B638 #D5C868 #E3D998

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8B638#FFFFFF#000000##000000
##C8B6381.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)
#C7B123
Deuteranopia (green-blind)
#CCB840
Tritanopia (blue-blind)
#D7A99D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8b638;
/* rgb */ color: rgb(200, 182, 56);
/* oklch */ color: oklch(77.0% 0.142 100.9);
Tailwind
colors: {
  custom: {
    50: '#dccb77',
    500: '#c8b638',
    950: '#000000',
  },
}
SCSS
$custom: #c8b638;
$custom-light: #dccb77;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b638",
  "rgb": {
    "r": 200,
    "g": 182,
    "b": 56
  },
  "hsl": {
    "h": 52.5,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76954,
    "c": 0.14174,
    "h": 100.9
  },
  "luminance": 0.46021
}

Semantic roles & 50–950 ramp

primary
#C8B638
secondary
#8E96CE
accent
#5BE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B638

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

Preview Lab → · Contrast checker → · Palette generator →

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