#C8B23B#C8B23B

#C8B23B is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.1% C 0.137 H 98.5°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#C8B23B
RGBrgb(200, 178, 59)
HSLhsl(51, 56%, 51%)
HSVhsv(51, 71%, 78%)
CMYKcmyk(0%, 11%, 70.5%, 21.6%)
CIE-LABlab(72.52, -5.21, 60.68)
CIE-LCHlch(72.52, 60.90, 94.91°)
OKLaboklab(76.14% -0.0202 0.1351)
OKLCHoklch(76.14% 0.137 98.5)
XYZxyz(40.5311, 44.4379, 10.5793)
Luminance0.4444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B23B #3B51C8
analogous
#C86B3B #C8B23B #97C83B
triadic
#C8B23B #3BC8B2 #B23BC8
tetradic
#C8B23B #3BC86B #3B51C8 #C83B97
square
#C8B23B #3BC86B #3B51C8 #C83B97
split-complementary
#C8B23B #3B97C8 #6B3BC8
monochromatic
#6B5F1E #9A892B #C8B23B #D5C56B #E3D89B

Accessibility & contrast

On white

2.12
#C8B23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#C8B23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B23B
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B23B#FFFFFF#000000##000000
##C8B23B1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD29
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#D8A59A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8b23b;
/* rgb */ color: rgb(200, 178, 59);
/* oklch */ color: oklch(76.1% 0.137 98.5);
Tailwind
colors: {
  custom: {
    50: '#dcc878',
    500: '#c8b23b',
    950: '#000000',
  },
}
SCSS
$custom: #c8b23b;
$custom-light: #dcc878;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b23b",
  "rgb": {
    "r": 200,
    "g": 178,
    "b": 59
  },
  "hsl": {
    "h": 50.638,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76136,
    "c": 0.13664,
    "h": 98.5
  },
  "luminance": 0.44436
}

Semantic roles & 50–950 ramp

primary
#C8B23B
secondary
#909ACF
accent
#60DF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B23B

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

Preview Lab → · Contrast checker → · Palette generator →

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