#C7BF4E#C7BF4E

#C7BF4E is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.0% C 0.134 H 105.2°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#C7BF4E
RGBrgb(199, 191, 78)
HSLhsl(56, 52%, 54%)
HSVhsv(56, 61%, 78%)
CMYKcmyk(0%, 4%, 60.8%, 22%)
CIE-LABlab(76.04, -11.23, 56.43)
CIE-LCHlch(76.04, 57.54, 101.26°)
OKLaboklab(78.96% -0.0352 0.1292)
OKLCHoklch(78.96% 0.134 105.2)
XYZxyz(43.5606, 49.9553, 14.5540)
Luminance0.4995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF4E #4E56C7
analogous
#C7834E #C7BF4E #93C74E
triadic
#C7BF4E #4EC7BF #BF4EC7
tetradic
#C7BF4E #4EC783 #4E56C7 #C74E93
square
#C7BF4E #4EC783 #4E56C7 #C74E93
split-complementary
#C7BF4E #4E93C7 #834EC7
monochromatic
#757025 #A49D34 #C7BF4E #D6D07C #E4E1AB

Accessibility & contrast

On white

1.91
#C7BF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#C7BF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BF4E
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BF4E#FFFFFF#000000##000000
##C7BF4E1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB941
Deuteranopia (green-blind)
#D1BE54
Tritanopia (blue-blind)
#D5B3A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c7bf4e;
/* rgb */ color: rgb(199, 191, 78);
/* oklch */ color: oklch(79.0% 0.134 105.2);
Tailwind
colors: {
  custom: {
    50: '#dbd284',
    500: '#c7bf4e',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf4e;
$custom-light: #dbd284;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf4e",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 78
  },
  "hsl": {
    "h": 56.033,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78959,
    "c": 0.13389,
    "h": 105.2
  },
  "luminance": 0.49954
}

Semantic roles & 50–950 ramp

primary
#C7BF4E
secondary
#9FA2D2
accent
#56DB4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #C7BF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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