#C7BD2B#C7BD2B

#C7BD2B is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.3% C 0.155 H 105.3°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#C7BD2B
RGBrgb(199, 189, 43)
HSLhsl(56, 64%, 47%)
HSVhsv(56, 78%, 78%)
CMYKcmyk(0%, 5%, 78.4%, 22%)
CIE-LABlab(75.27, -12.01, 68.77)
CIE-LCHlch(75.27, 69.81, 99.91°)
OKLaboklab(78.27% -0.0409 0.1494)
OKLCHoklch(78.27% 0.155 105.3)
XYZxyz(42.1887, 48.7134, 9.4654)
Luminance0.4871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BD2B #2B35C7
analogous
#C76F2B #C7BD2B #83C72B
triadic
#C7BD2B #2BC7BD #BD2BC7
tetradic
#C7BD2B #2BC76F #2B35C7 #C72B83
square
#C7BD2B #2BC76F #2B35C7 #C72B83
split-complementary
#C7BD2B #2B83C7 #6F2BC7
monochromatic
#625D15 #958D20 #C7BD2B #DAD255 #E5DF87

Accessibility & contrast

On white

1.95
#C7BD2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#C7BD2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BD2B
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BD2B#FFFFFF#000000##000000
##C7BD2B1.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#D2BC37
Tritanopia (blue-blind)
#D6B0A2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c7bd2b;
/* rgb */ color: rgb(199, 189, 43);
/* oklch */ color: oklch(78.3% 0.155 105.3);
Tailwind
colors: {
  custom: {
    50: '#dcd071',
    500: '#c7bd2b',
    950: '#000000',
  },
}
SCSS
$custom: #c7bd2b;
$custom-light: #dcd071;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bd2b",
  "rgb": {
    "r": 199,
    "g": 189,
    "b": 43
  },
  "hsl": {
    "h": 56.154,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.78273,
    "c": 0.15488,
    "h": 105.3
  },
  "luminance": 0.48712
}

Semantic roles & 50–950 ramp

primary
#C7BD2B
secondary
#7F84CF
accent
#4BE740
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C7BD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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