#C7BF4F#C7BF4F

#C7BF4F is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.0% C 0.133 H 105.2°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#C7BF4F
RGBrgb(199, 191, 79)
HSLhsl(56, 52%, 55%)
HSVhsv(56, 60%, 78%)
CMYKcmyk(0%, 4%, 60.3%, 22%)
CIE-LABlab(76.05, -11.17, 56.00)
CIE-LCHlch(76.05, 57.11, 101.28°)
OKLaboklab(78.97% -0.0349 0.1284)
OKLCHoklch(78.97% 0.133 105.2)
XYZxyz(43.5968, 49.9697, 14.7442)
Luminance0.4997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF4F #4F57C7
analogous
#C7834F #C7BF4F #93C74F
triadic
#C7BF4F #4FC7BF #BF4FC7
tetradic
#C7BF4F #4FC783 #4F57C7 #C74F93
square
#C7BF4F #4FC783 #4F57C7 #C74F93
split-complementary
#C7BF4F #4F93C7 #834FC7
monochromatic
#767126 #A49D34 #C7BF4F #D6D07D #E5E1AC

Accessibility & contrast

On white

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

On black

10.99
#C7BF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BF4F
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BF4F#FFFFFF#000000##000000
##C7BF4F1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB942
Deuteranopia (green-blind)
#D1BE55
Tritanopia (blue-blind)
#D5B3A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c7bf4f;
/* rgb */ color: rgb(199, 191, 79);
/* oklch */ color: oklch(79.0% 0.133 105.2);
Tailwind
colors: {
  custom: {
    50: '#dbd285',
    500: '#c7bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf4f;
$custom-light: #dbd285;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf4f",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 56,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78969,
    "c": 0.13307,
    "h": 105.2
  },
  "luminance": 0.49968
}

Semantic roles & 50–950 ramp

primary
#C7BF4F
secondary
#A0A3D2
accent
#56DB4D
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #C7BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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