#C8B239#C8B239

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

Color values

HEX#C8B239
RGBrgb(200, 178, 57)
HSLhsl(51, 57%, 50%)
HSVhsv(51, 72%, 78%)
CMYKcmyk(0%, 11%, 71.5%, 21.6%)
CIE-LABlab(72.51, -5.31, 61.44)
CIE-LCHlch(72.51, 61.66, 94.94°)
OKLaboklab(76.12% -0.0207 0.1364)
OKLCHoklch(76.12% 0.138 98.6)
XYZxyz(40.4803, 44.4175, 10.3113)
Luminance0.4442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B239 #394FC8
analogous
#C86A39 #C8B239 #97C839
triadic
#C8B239 #39C8B2 #B239C8
tetradic
#C8B239 #39C86A #394FC8 #C83997
square
#C8B239 #39C86A #394FC8 #C83997
split-complementary
#C8B239 #3997C8 #6A39C8
monochromatic
#695E1D #99882B #C8B239 #D5C569 #E3D799

Accessibility & contrast

On white

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

On black

9.88
#C8B239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B239
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B239#FFFFFF#000000##000000
##C8B2391.002.129.889.88
#FFFFFF2.121.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8b239;
/* rgb */ color: rgb(200, 178, 57);
/* oklch */ color: oklch(76.1% 0.138 98.6);
Tailwind
colors: {
  custom: {
    50: '#dcc877',
    500: '#c8b239',
    950: '#000000',
  },
}
SCSS
$custom: #c8b239;
$custom-light: #dcc877;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b239",
  "rgb": {
    "r": 200,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 50.769,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76121,
    "c": 0.13794,
    "h": 98.6
  },
  "luminance": 0.44416
}

Semantic roles & 50–950 ramp

primary
#C8B239
secondary
#8F98CE
accent
#5FE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B239

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

Preview Lab → · Contrast checker → · Palette generator →

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