#C8B145#C8B145

#C8B145 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.0% C 0.129 H 97.2°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#C8B145
RGBrgb(200, 177, 69)
HSLhsl(49, 54%, 53%)
HSVhsv(49, 66%, 78%)
CMYKcmyk(0%, 11.5%, 65.5%, 21.6%)
CIE-LABlab(72.33, -4.13, 56.37)
CIE-LCHlch(72.33, 56.53, 94.19°)
OKLaboklab(76.01% -0.016 0.1277)
OKLCHoklch(76.01% 0.129 97.2)
XYZxyz(40.6176, 44.1553, 12.0124)
Luminance0.4415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B145 #455CC8
analogous
#C87045 #C8B145 #9DC845
triadic
#C8B145 #45C8B1 #B145C8
tetradic
#C8B145 #45C870 #455CC8 #C8459D
square
#C8B145 #45C870 #455CC8 #C8459D
split-complementary
#C8B145 #459DC8 #7045C8
monochromatic
#716321 #A08D2F #C8B145 #D6C574 #E4D9A3

Accessibility & contrast

On white

2.14
#C8B145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#C8B145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B145
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B145#FFFFFF#000000##000000
##C8B1451.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD38
Deuteranopia (green-blind)
#C8B54B
Tritanopia (blue-blind)
#D7A49A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8b145;
/* rgb */ color: rgb(200, 177, 69);
/* oklch */ color: oklch(76.0% 0.129 97.2);
Tailwind
colors: {
  custom: {
    50: '#dcc87e',
    500: '#c8b145',
    950: '#000000',
  },
}
SCSS
$custom: #c8b145;
$custom-light: #dcc87e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b145",
  "rgb": {
    "r": 200,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 49.466,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76011,
    "c": 0.12871,
    "h": 97.2
  },
  "luminance": 0.44153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8B145

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

Preview Lab → · Contrast checker → · Palette generator →

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