#C7BD4E#C7BD4E

#C7BD4E is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.5% C 0.132 H 104.2°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#C7BD4E
RGBrgb(199, 189, 78)
HSLhsl(55, 52%, 54%)
HSVhsv(55, 61%, 78%)
CMYKcmyk(0%, 5%, 60.8%, 22%)
CIE-LABlab(75.51, -10.21, 55.85)
CIE-LCHlch(75.51, 56.78, 100.36°)
OKLaboklab(78.53% -0.0323 0.1279)
OKLCHoklch(78.53% 0.132 104.2)
XYZxyz(43.1275, 49.0889, 14.4096)
Luminance0.4909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BD4E #4E58C7
analogous
#C7814E #C7BD4E #95C74E
triadic
#C7BD4E #4EC7BD #BD4EC7
tetradic
#C7BD4E #4EC781 #4E58C7 #C74E95
square
#C7BD4E #4EC781 #4E58C7 #C74E95
split-complementary
#C7BD4E #4E95C7 #814EC7
monochromatic
#756F25 #A49B34 #C7BD4E #D6CE7C #E4E0AB

Accessibility & contrast

On white

1.94
#C7BD4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#C7BD4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BD4E
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BD4E#FFFFFF#000000##000000
##C7BD4E1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB741
Deuteranopia (green-blind)
#D0BC54
Tritanopia (blue-blind)
#D5B1A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7bd4e;
/* rgb */ color: rgb(199, 189, 78);
/* oklch */ color: oklch(78.5% 0.132 104.2);
Tailwind
colors: {
  custom: {
    50: '#dbd084',
    500: '#c7bd4e',
    950: '#000000',
  },
}
SCSS
$custom: #c7bd4e;
$custom-light: #dbd084;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bd4e",
  "rgb": {
    "r": 199,
    "g": 189,
    "b": 78
  },
  "hsl": {
    "h": 55.041,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78533,
    "c": 0.13195,
    "h": 104.2
  },
  "luminance": 0.49087
}

Semantic roles & 50–950 ramp

primary
#C7BD4E
secondary
#9FA3D2
accent
#58DB4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7BD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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