#C8B433#C8B433

#C8B433 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.5% C 0.143 H 100.1°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#C8B433
RGBrgb(200, 180, 51)
HSLhsl(52, 59%, 49%)
HSVhsv(52, 75%, 78%)
CMYKcmyk(0%, 10%, 74.5%, 21.6%)
CIE-LABlab(73.00, -6.62, 64.11)
CIE-LCHlch(73.00, 64.46, 95.90°)
OKLaboklab(76.5% -0.0251 0.1409)
OKLCHoklch(76.5% 0.143 100.1)
XYZxyz(40.7402, 45.1628, 9.7027)
Luminance0.4516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B433 #3347C8
analogous
#C86933 #C8B433 #92C833
triadic
#C8B433 #33C8B4 #B433C8
tetradic
#C8B433 #33C869 #3347C8 #C83392
square
#C8B433 #33C869 #3347C8 #C83392
split-complementary
#C8B433 #3392C8 #6933C8
monochromatic
#665C1A #978827 #C8B433 #D7C761 #E3D892

Accessibility & contrast

On white

2.09
#C8B433 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#C8B433 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B433
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B433#FFFFFF#000000##000000
##C8B4331.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1A
Deuteranopia (green-blind)
#CBB63C
Tritanopia (blue-blind)
#D8A79B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8b433;
/* rgb */ color: rgb(200, 180, 51);
/* oklch */ color: oklch(76.5% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#ddca74',
    500: '#c8b433',
    950: '#000000',
  },
}
SCSS
$custom: #c8b433;
$custom-light: #ddca74;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b433",
  "rgb": {
    "r": 200,
    "g": 180,
    "b": 51
  },
  "hsl": {
    "h": 51.946,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76499,
    "c": 0.14315,
    "h": 100.1
  },
  "luminance": 0.45161
}

Semantic roles & 50–950 ramp

primary
#C8B433
secondary
#8992CE
accent
#5AE345
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B433

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

Preview Lab → · Contrast checker → · Palette generator →

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