#C7BF4A#C7BF4A

#C7BF4A is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.9% C 0.137 H 105.4°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#C7BF4A
RGBrgb(199, 191, 74)
HSLhsl(56, 53%, 54%)
HSVhsv(56, 63%, 78%)
CMYKcmyk(0%, 4%, 62.8%, 22%)
CIE-LABlab(76.01, -11.50, 58.12)
CIE-LCHlch(76.01, 59.25, 101.19°)
OKLaboklab(78.92% -0.0364 0.1322)
OKLCHoklch(78.92% 0.137 105.4)
XYZxyz(43.4216, 49.8996, 13.8216)
Luminance0.4990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF4A #4A52C7
analogous
#C7804A #C7BF4A #90C74A
triadic
#C7BF4A #4AC7BF #BF4AC7
tetradic
#C7BF4A #4AC780 #4A52C7 #C74A90
square
#C7BF4A #4AC780 #4A52C7 #C74A90
split-complementary
#C7BF4A #4A90C7 #804AC7
monochromatic
#736E24 #A29B32 #C7BF4A #D5D079 #E4E0A7

Accessibility & contrast

On white

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

On black

10.98
#C7BF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BF4A
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BF4A#FFFFFF#000000##000000
##C7BF4A1.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB83C
Deuteranopia (green-blind)
#D2BE51
Tritanopia (blue-blind)
#D5B3A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c7bf4a;
/* rgb */ color: rgb(199, 191, 74);
/* oklch */ color: oklch(78.9% 0.137 105.4);
Tailwind
colors: {
  custom: {
    50: '#dbd282',
    500: '#c7bf4a',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf4a;
$custom-light: #dbd282;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf4a",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 74
  },
  "hsl": {
    "h": 56.16,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78921,
    "c": 0.13711,
    "h": 105.4
  },
  "luminance": 0.49898
}

Semantic roles & 50–950 ramp

primary
#C7BF4A
secondary
#9C9FD1
accent
#55DC4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #C7BF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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