#C8B45F#C8B45F

#C8B45F is a light, moderate yellow. Relative luminance 0.457; OKLCH L 76.9% C 0.108 H 96.4°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#C8B45F
RGBrgb(200, 180, 95)
HSLhsl(49, 49%, 58%)
HSVhsv(49, 53%, 78%)
CMYKcmyk(0%, 10%, 52.5%, 21.6%)
CIE-LABlab(73.38, -3.81, 45.51)
CIE-LCHlch(73.38, 45.67, 94.78°)
OKLaboklab(76.93% -0.012 0.1076)
OKLCHoklch(76.93% 0.108 96.4)
XYZxyz(42.2077, 45.7498, 17.4316)
Luminance0.4575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B45F #5F73C8
analogous
#C87F5F #C8B45F #A8C85F
triadic
#C8B45F #5FC8B4 #B45FC8
tetradic
#C8B45F #5FC87F #5F73C8 #C85FA8
square
#C8B45F #5FC87F #5F73C8 #C85FA8
split-complementary
#C8B45F #5FA8C8 #7F5FC8
monochromatic
#80702C #AE983C #C8B45F #D8C98D #E7DFBA

Accessibility & contrast

On white

2.07
#C8B45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#C8B45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B45F
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B45F#FFFFFF#000000##000000
##C8B45F1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B057
Deuteranopia (green-blind)
#C8B763
Tritanopia (blue-blind)
#D6A9A0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8b45f;
/* rgb */ color: rgb(200, 180, 95);
/* oklch */ color: oklch(76.9% 0.108 96.4);
Tailwind
colors: {
  custom: {
    50: '#dbca8e',
    500: '#c8b45f',
    950: '#000000',
  },
}
SCSS
$custom: #c8b45f;
$custom-light: #dbca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b45f",
  "rgb": {
    "r": 200,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 48.571,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.76927,
    "c": 0.10828,
    "h": 96.4
  },
  "luminance": 0.45748
}

Semantic roles & 50–950 ramp

primary
#C8B45F
secondary
#ACB4D6
accent
#69D84F
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8B45F

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

Preview Lab → · Contrast checker → · Palette generator →

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