#C8B645#C8B645

#C8B645 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.1% C 0.133 H 100.2°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#C8B645
RGBrgb(200, 182, 69)
HSLhsl(52, 54%, 53%)
HSVhsv(52, 66%, 78%)
CMYKcmyk(0%, 9%, 65.5%, 21.6%)
CIE-LABlab(73.65, -6.74, 57.77)
CIE-LCHlch(73.65, 58.16, 96.66°)
OKLaboklab(77.06% -0.0235 0.1307)
OKLCHoklch(77.06% 0.133 100.2)
XYZxyz(41.6233, 46.1668, 12.3477)
Luminance0.4617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B645 #4557C8
analogous
#C87545 #C8B645 #98C845
triadic
#C8B645 #45C8B6 #B645C8
tetradic
#C8B645 #45C875 #4557C8 #C84598
square
#C8B645 #45C875 #4557C8 #C84598
split-complementary
#C8B645 #4598C8 #7545C8
monochromatic
#716621 #A0912F #C8B645 #D6C974 #E4DBA3

Accessibility & contrast

On white

2.05
#C8B645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#C8B645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B645
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B645#FFFFFF#000000##000000
##C8B6451.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B137
Deuteranopia (green-blind)
#CCB84B
Tritanopia (blue-blind)
#D7A99E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8b645;
/* rgb */ color: rgb(200, 182, 69);
/* oklch */ color: oklch(77.1% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#dccb7e',
    500: '#c8b645',
    950: '#000000',
  },
}
SCSS
$custom: #c8b645;
$custom-light: #dccb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b645",
  "rgb": {
    "r": 200,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 51.756,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77058,
    "c": 0.13276,
    "h": 100.2
  },
  "luminance": 0.46165
}

Semantic roles & 50–950 ramp

primary
#C8B645
secondary
#98A0D1
accent
#5EDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8B645

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

Preview Lab → · Contrast checker → · Palette generator →

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