#C7BF4B#C7BF4B

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

Color values

HEX#C7BF4B
RGBrgb(199, 191, 75)
HSLhsl(56, 53%, 54%)
HSVhsv(56, 62%, 78%)
CMYKcmyk(0%, 4%, 62.3%, 22%)
CIE-LABlab(76.02, -11.43, 57.70)
CIE-LCHlch(76.02, 58.82, 101.21°)
OKLaboklab(78.93% -0.0361 0.1315)
OKLCHoklch(78.93% 0.136 105.4)
XYZxyz(43.4555, 49.9132, 14.0004)
Luminance0.4991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF4B #4B53C7
analogous
#C7814B #C7BF4B #91C74B
triadic
#C7BF4B #4BC7BF #BF4BC7
tetradic
#C7BF4B #4BC781 #4B53C7 #C74B91
square
#C7BF4B #4BC781 #4B53C7 #C74B91
split-complementary
#C7BF4B #4B91C7 #814BC7
monochromatic
#746E24 #A29B32 #C7BF4B #D6D07A #E4E0A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7BF4B#FFFFFF#000000##000000
##C7BF4B1.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)
#CFB83D
Deuteranopia (green-blind)
#D2BE52
Tritanopia (blue-blind)
#D5B3A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c7bf4b;
/* rgb */ color: rgb(199, 191, 75);
/* oklch */ color: oklch(78.9% 0.136 105.4);
Tailwind
colors: {
  custom: {
    50: '#dbd282',
    500: '#c7bf4b',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf4b;
$custom-light: #dbd282;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf4b",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 75
  },
  "hsl": {
    "h": 56.129,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7893,
    "c": 0.13632,
    "h": 105.4
  },
  "luminance": 0.49912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7BF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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