#C7BF3B#C7BF3B

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

Color values

HEX#C7BF3B
RGBrgb(199, 191, 59)
HSLhsl(57, 56%, 51%)
HSVhsv(57, 70%, 78%)
CMYKcmyk(0%, 4%, 70.4%, 22%)
CIE-LABlab(75.90, -12.35, 63.99)
CIE-LCHlch(75.90, 65.17, 100.92°)
OKLaboklab(78.8% -0.0404 0.1422)
OKLCHoklch(78.8% 0.148 105.9)
XYZxyz(42.9751, 49.7210, 11.4702)
Luminance0.4972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF3B #3B43C7
analogous
#C7793B #C7BF3B #89C73B
triadic
#C7BF3B #3BC7BF #BF3BC7
tetradic
#C7BF3B #3BC779 #3B43C7 #C73B89
square
#C7BF3B #3BC779 #3B43C7 #C73B89
split-complementary
#C7BF3B #3B89C7 #793BC7
monochromatic
#69651E #99932C #C7BF3B #D5CF6B #E2DE9A

Accessibility & contrast

On white

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

On black

10.94
#C7BF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BF3B
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BF3B#FFFFFF#000000##000000
##C7BF3B1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7bf3b;
/* rgb */ color: rgb(199, 191, 59);
/* oklch */ color: oklch(78.8% 0.148 105.9);
Tailwind
colors: {
  custom: {
    50: '#dcd279',
    500: '#c7bf3b',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf3b;
$custom-light: #dcd279;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf3b",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 59
  },
  "hsl": {
    "h": 56.571,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78798,
    "c": 0.14779,
    "h": 105.9
  },
  "luminance": 0.49719
}

Semantic roles & 50–950 ramp

primary
#C7BF3B
secondary
#9093CE
accent
#51DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C7BF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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