#C8B245#C8B245

#C8B245 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.2% C 0.129 H 97.8°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#C8B245
RGBrgb(200, 178, 69)
HSLhsl(50, 54%, 53%)
HSVhsv(50, 66%, 78%)
CMYKcmyk(0%, 11%, 65.5%, 21.6%)
CIE-LABlab(72.60, -4.65, 56.65)
CIE-LCHlch(72.60, 56.84, 94.70°)
OKLaboklab(76.22% -0.0175 0.1283)
OKLCHoklch(76.22% 0.129 97.8)
XYZxyz(40.8158, 44.5518, 12.0785)
Luminance0.4455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B245 #455BC8
analogous
#C87145 #C8B245 #9CC845
triadic
#C8B245 #45C8B2 #B245C8
tetradic
#C8B245 #45C871 #455BC8 #C8459C
square
#C8B245 #45C871 #455BC8 #C8459C
split-complementary
#C8B245 #459CC8 #7145C8
monochromatic
#716421 #A08D2F #C8B245 #D6C674 #E4D9A3

Accessibility & contrast

On white

2.12
#C8B245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#C8B245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B245
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B245#FFFFFF#000000##000000
##C8B2451.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE38
Deuteranopia (green-blind)
#C9B54B
Tritanopia (blue-blind)
#D7A59B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8b245;
/* rgb */ color: rgb(200, 178, 69);
/* oklch */ color: oklch(76.2% 0.129 97.8);
Tailwind
colors: {
  custom: {
    50: '#dcc87e',
    500: '#c8b245',
    950: '#000000',
  },
}
SCSS
$custom: #c8b245;
$custom-light: #dcc87e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b245",
  "rgb": {
    "r": 200,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 49.924,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.7622,
    "c": 0.12949,
    "h": 97.8
  },
  "luminance": 0.4455
}

Semantic roles & 50–950 ramp

primary
#C8B245
secondary
#98A2D1
accent
#63DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8B245

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

Preview Lab → · Contrast checker → · Palette generator →

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