#C8B738#C8B738

#C8B738 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.2% C 0.143 H 101.5°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#C8B738
RGBrgb(200, 183, 56)
HSLhsl(53, 57%, 50%)
HSVhsv(53, 72%, 78%)
CMYKcmyk(0%, 8.5%, 72%, 21.6%)
CIE-LABlab(73.83, -7.96, 63.10)
CIE-LCHlch(73.83, 63.60, 97.19°)
OKLaboklab(77.16% -0.0284 0.1397)
OKLCHoklch(77.16% 0.143 101.5)
XYZxyz(41.4686, 46.4337, 10.5189)
Luminance0.4643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B738 #3849C8
analogous
#C86F38 #C8B738 #91C838
triadic
#C8B738 #38C8B7 #B738C8
tetradic
#C8B738 #38C86F #3849C8 #C83891
square
#C8B738 #38C86F #3849C8 #C83891
split-complementary
#C8B738 #3891C8 #6F38C8
monochromatic
#69601D #998C2A #C8B738 #D5C868 #E3DA98

Accessibility & contrast

On white

2.04
#C8B738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#C8B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B738
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B738#FFFFFF#000000##000000
##C8B7381.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B123
Deuteranopia (green-blind)
#CDB840
Tritanopia (blue-blind)
#D7AA9E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8b738;
/* rgb */ color: rgb(200, 183, 56);
/* oklch */ color: oklch(77.2% 0.143 101.5);
Tailwind
colors: {
  custom: {
    50: '#dccc77',
    500: '#c8b738',
    950: '#000000',
  },
}
SCSS
$custom: #c8b738;
$custom-light: #dccc77;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b738",
  "rgb": {
    "r": 200,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 52.917,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77165,
    "c": 0.14257,
    "h": 101.5
  },
  "luminance": 0.46432
}

Semantic roles & 50–950 ramp

primary
#C8B738
secondary
#8E95CE
accent
#5AE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B738

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

Preview Lab → · Contrast checker → · Palette generator →

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