#C7BF3F#C7BF3F

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

Color values

HEX#C7BF3F
RGBrgb(199, 191, 63)
HSLhsl(56, 55%, 51%)
HSVhsv(56, 68%, 78%)
CMYKcmyk(0%, 4%, 68.3%, 22%)
CIE-LABlab(75.92, -12.14, 62.50)
CIE-LCHlch(75.92, 63.67, 100.99°)
OKLaboklab(78.83% -0.0394 0.1397)
OKLCHoklch(78.83% 0.145 105.8)
XYZxyz(43.0829, 49.7641, 12.0377)
Luminance0.4976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF3F #3F47C7
analogous
#C77B3F #C7BF3F #8BC73F
triadic
#C7BF3F #3FC7BF #BF3FC7
tetradic
#C7BF3F #3FC77B #3F47C7 #C73F8B
square
#C7BF3F #3FC77B #3F47C7 #C73F8B
split-complementary
#C7BF3F #3F8BC7 #7B3FC7
monochromatic
#6C6820 #9B952D #C7BF3F #D5CF6E #E3DF9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7BF3F#FFFFFF#000000##000000
##C7BF3F1.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)
#CFB82C
Deuteranopia (green-blind)
#D2BE47
Tritanopia (blue-blind)
#D5B2A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c7bf3f;
/* rgb */ color: rgb(199, 191, 63);
/* oklch */ color: oklch(78.8% 0.145 105.8);
Tailwind
colors: {
  custom: {
    50: '#dbd27b',
    500: '#c7bf3f',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf3f;
$custom-light: #dbd27b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf3f",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 63
  },
  "hsl": {
    "h": 56.471,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78828,
    "c": 0.14516,
    "h": 105.8
  },
  "luminance": 0.49763
}

Semantic roles & 50–950 ramp

primary
#C7BF3F
secondary
#9396CF
accent
#52DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C7BF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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