#C7BD34#C7BD34

#C7BD34 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.3% C 0.150 H 105.1°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#C7BD34
RGBrgb(199, 189, 52)
HSLhsl(56, 59%, 49%)
HSVhsv(56, 74%, 78%)
CMYKcmyk(0%, 5%, 73.9%, 22%)
CIE-LABlab(75.32, -11.65, 65.93)
CIE-LCHlch(75.32, 66.95, 100.02°)
OKLaboklab(78.32% -0.0391 0.145)
OKLCHoklch(78.32% 0.15 105.1)
XYZxyz(42.3724, 48.7869, 10.4330)
Luminance0.4879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BD34 #343EC7
analogous
#C77334 #C7BD34 #88C734
triadic
#C7BD34 #34C7BD #BD34C7
tetradic
#C7BD34 #34C773 #343EC7 #C73488
square
#C7BD34 #34C773 #343EC7 #C73488
split-complementary
#C7BD34 #3488C7 #7334C7
monochromatic
#66611B #968F27 #C7BD34 #D6CE62 #E3DD93

Accessibility & contrast

On white

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

On black

10.76
#C7BD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BD34
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BD34#FFFFFF#000000##000000
##C7BD341.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB618
Deuteranopia (green-blind)
#D1BC3E
Tritanopia (blue-blind)
#D6B0A3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c7bd34;
/* rgb */ color: rgb(199, 189, 52);
/* oklch */ color: oklch(78.3% 0.150 105.1);
Tailwind
colors: {
  custom: {
    50: '#dcd076',
    500: '#c7bd34',
    950: '#000000',
  },
}
SCSS
$custom: #c7bd34;
$custom-light: #dcd076;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bd34",
  "rgb": {
    "r": 199,
    "g": 189,
    "b": 52
  },
  "hsl": {
    "h": 55.918,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78324,
    "c": 0.15018,
    "h": 105.1
  },
  "luminance": 0.48785
}

Semantic roles & 50–950 ramp

primary
#C7BD34
secondary
#898ECE
accent
#51E246
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C7BD34

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

Preview Lab → · Contrast checker → · Palette generator →

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