#C7BF3C#C7BF3C

#C7BF3C is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.8% C 0.147 H 105.8°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#C7BF3C
RGBrgb(199, 191, 60)
HSLhsl(57, 55%, 51%)
HSVhsv(57, 70%, 78%)
CMYKcmyk(0%, 4%, 69.8%, 22%)
CIE-LABlab(75.90, -12.30, 63.62)
CIE-LCHlch(75.90, 64.80, 100.94°)
OKLaboklab(78.81% -0.0401 0.1416)
OKLCHoklch(78.81% 0.147 105.8)
XYZxyz(43.0013, 49.7315, 11.6081)
Luminance0.4973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF3C #3C44C7
analogous
#C7793C #C7BF3C #89C73C
triadic
#C7BF3C #3CC7BF #BF3CC7
tetradic
#C7BF3C #3CC779 #3C44C7 #C73C89
square
#C7BF3C #3CC779 #3C44C7 #C73C89
split-complementary
#C7BF3C #3C89C7 #793CC7
monochromatic
#6A661E #9A932C #C7BF3C #D5CF6C #E2DE9B

Accessibility & contrast

On white

1.92
#C7BF3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#C7BF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BF3C
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BF3C#FFFFFF#000000##000000
##C7BF3C1.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB827
Deuteranopia (green-blind)
#D2BE45
Tritanopia (blue-blind)
#D6B2A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c7bf3c;
/* rgb */ color: rgb(199, 191, 60);
/* oklch */ color: oklch(78.8% 0.147 105.8);
Tailwind
colors: {
  custom: {
    50: '#dcd27a',
    500: '#c7bf3c',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf3c;
$custom-light: #dcd27a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf3c",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 60
  },
  "hsl": {
    "h": 56.547,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78806,
    "c": 0.14714,
    "h": 105.8
  },
  "luminance": 0.4973
}

Semantic roles & 50–950 ramp

primary
#C7BF3C
secondary
#9194CE
accent
#52DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C7BF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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