#C8B93B#C8B93B

#C8B93B is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.6% C 0.142 H 102.4°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#C8B93B
RGBrgb(200, 185, 59)
HSLhsl(54, 56%, 51%)
HSVhsv(54, 71%, 78%)
CMYKcmyk(0%, 7.5%, 70.5%, 21.6%)
CIE-LABlab(74.38, -8.84, 62.52)
CIE-LCHlch(74.38, 63.14, 98.05°)
OKLaboklab(77.61% -0.0306 0.139)
OKLCHoklch(77.61% 0.142 102.4)
XYZxyz(41.9596, 47.2948, 11.0554)
Luminance0.4729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B93B #3B4AC8
analogous
#C8723B #C8B93B #90C83B
triadic
#C8B93B #3BC8B9 #B93BC8
tetradic
#C8B93B #3BC872 #3B4AC8 #C83B90
square
#C8B93B #3BC872 #3B4AC8 #C83B90
split-complementary
#C8B93B #3B90C8 #723BC8
monochromatic
#6B631E #9A8F2B #C8B93B #D5CA6B #E3DB9B

Accessibility & contrast

On white

2.01
#C8B93B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#C8B93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B93B
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B93B#FFFFFF#000000##000000
##C8B93B1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB327
Deuteranopia (green-blind)
#CEBA43
Tritanopia (blue-blind)
#D7ACA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8b93b;
/* rgb */ color: rgb(200, 185, 59);
/* oklch */ color: oklch(77.6% 0.142 102.4);
Tailwind
colors: {
  custom: {
    50: '#dccd79',
    500: '#c8b93b',
    950: '#000000',
  },
}
SCSS
$custom: #c8b93b;
$custom-light: #dccd79;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b93b",
  "rgb": {
    "r": 200,
    "g": 185,
    "b": 59
  },
  "hsl": {
    "h": 53.617,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7761,
    "c": 0.14234,
    "h": 102.4
  },
  "luminance": 0.47293
}

Semantic roles & 50–950 ramp

primary
#C8B93B
secondary
#9097CF
accent
#58DF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B93B

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

Preview Lab → · Contrast checker → · Palette generator →

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