#C8B03B#C8B03B

#C8B03B is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.7% C 0.135 H 97.3°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#C8B03B
RGBrgb(200, 176, 59)
HSLhsl(50, 56%, 51%)
HSVhsv(50, 71%, 78%)
CMYKcmyk(0%, 12%, 70.5%, 21.6%)
CIE-LABlab(71.99, -4.16, 60.15)
CIE-LCHlch(71.99, 60.29, 93.96°)
OKLaboklab(75.72% -0.0173 0.134)
OKLCHoklch(75.72% 0.135 97.3)
XYZxyz(40.1361, 43.6478, 10.4476)
Luminance0.4365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B03B #3B53C8
analogous
#C8693B #C8B03B #99C83B
triadic
#C8B03B #3BC8B0 #B03BC8
tetradic
#C8B03B #3BC869 #3B53C8 #C83B99
square
#C8B03B #3BC869 #3B53C8 #C83B99
split-complementary
#C8B03B #3B99C8 #693BC8
monochromatic
#6B5E1E #9A882B #C8B03B #D5C36B #E3D79B

Accessibility & contrast

On white

2.16
#C8B03B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#C8B03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B03B
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B03B#FFFFFF#000000##000000
##C8B03B1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC2A
Deuteranopia (green-blind)
#C8B442
Tritanopia (blue-blind)
#D8A398
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8b03b;
/* rgb */ color: rgb(200, 176, 59);
/* oklch */ color: oklch(75.7% 0.135 97.3);
Tailwind
colors: {
  custom: {
    50: '#dcc778',
    500: '#c8b03b',
    950: '#000000',
  },
}
SCSS
$custom: #c8b03b;
$custom-light: #dcc778;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b03b",
  "rgb": {
    "r": 200,
    "g": 176,
    "b": 59
  },
  "hsl": {
    "h": 49.787,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75717,
    "c": 0.13512,
    "h": 97.3
  },
  "luminance": 0.43646
}

Semantic roles & 50–950 ramp

primary
#C8B03B
secondary
#909BCF
accent
#62DF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B03B

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

Preview Lab → · Contrast checker → · Palette generator →

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