#C8B740#C8B740

#C8B740 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.2% C 0.137 H 101.1°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#C8B740
RGBrgb(200, 183, 64)
HSLhsl(53, 55%, 52%)
HSVhsv(53, 68%, 78%)
CMYKcmyk(0%, 8.5%, 68%, 21.6%)
CIE-LABlab(73.88, -7.55, 60.06)
CIE-LCHlch(73.88, 60.54, 97.16°)
OKLaboklab(77.23% -0.0263 0.1347)
OKLCHoklch(77.23% 0.137 101.1)
XYZxyz(41.6801, 46.5183, 11.6330)
Luminance0.4652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B740 #4051C8
analogous
#C87340 #C8B740 #95C840
triadic
#C8B740 #40C8B7 #B740C8
tetradic
#C8B740 #40C873 #4051C8 #C84095
square
#C8B740 #40C873 #4051C8 #C84095
split-complementary
#C8B740 #4095C8 #7340C8
monochromatic
#6E6420 #9D8F2D #C8B740 #D6C970 #E3DB9F

Accessibility & contrast

On white

2.04
#C8B740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#C8B740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B740
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B740#FFFFFF#000000##000000
##C8B7401.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22F
Deuteranopia (green-blind)
#CDB947
Tritanopia (blue-blind)
#D7AA9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8b740;
/* rgb */ color: rgb(200, 183, 64);
/* oklch */ color: oklch(77.2% 0.137 101.1);
Tailwind
colors: {
  custom: {
    50: '#dccc7b',
    500: '#c8b740',
    950: '#000000',
  },
}
SCSS
$custom: #c8b740;
$custom-light: #dccc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b740",
  "rgb": {
    "r": 200,
    "g": 183,
    "b": 64
  },
  "hsl": {
    "h": 52.5,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77226,
    "c": 0.13725,
    "h": 101.1
  },
  "luminance": 0.46516
}

Semantic roles & 50–950 ramp

primary
#C8B740
secondary
#949CD0
accent
#5CDF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#15130A
muted
#84827C

Preview Lab

Preview with #C8B740

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

Preview Lab → · Contrast checker → · Palette generator →

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