#C8B23D#C8B23D

#C8B23D is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.2% C 0.135 H 98.4°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#C8B23D
RGBrgb(200, 178, 61)
HSLhsl(51, 56%, 51%)
HSVhsv(51, 70%, 78%)
CMYKcmyk(0%, 11%, 69.5%, 21.6%)
CIE-LABlab(72.53, -5.10, 59.90)
CIE-LCHlch(72.53, 60.12, 94.87°)
OKLaboklab(76.15% -0.0197 0.1338)
OKLCHoklch(76.15% 0.135 98.4)
XYZxyz(40.5840, 44.4590, 10.8577)
Luminance0.4446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B23D #3D53C8
analogous
#C86C3D #C8B23D #98C83D
triadic
#C8B23D #3DC8B2 #B23DC8
tetradic
#C8B23D #3DC86C #3D53C8 #C83D98
square
#C8B23D #3DC86C #3D53C8 #C83D98
split-complementary
#C8B23D #3D98C8 #6C3DC8
monochromatic
#6C601F #9C8A2C #C8B23D #D6C56D #E3D89C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8B23D#FFFFFF#000000##000000
##C8B23D1.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)
#C3AE2C
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#D7A59A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8b23d;
/* rgb */ color: rgb(200, 178, 61);
/* oklch */ color: oklch(76.2% 0.135 98.4);
Tailwind
colors: {
  custom: {
    50: '#dcc879',
    500: '#c8b23d',
    950: '#000000',
  },
}
SCSS
$custom: #c8b23d;
$custom-light: #dcc879;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b23d",
  "rgb": {
    "r": 200,
    "g": 178,
    "b": 61
  },
  "hsl": {
    "h": 50.504,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76151,
    "c": 0.13529,
    "h": 98.4
  },
  "luminance": 0.44457
}

Semantic roles & 50–950 ramp

primary
#C8B23D
secondary
#929BCF
accent
#60DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B23D

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

Preview Lab → · Contrast checker → · Palette generator →

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