#C7BF3E#C7BF3E

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

Color values

HEX#C7BF3E
RGBrgb(199, 191, 62)
HSLhsl(56, 55%, 51%)
HSVhsv(56, 69%, 78%)
CMYKcmyk(0%, 4%, 68.8%, 22%)
CIE-LABlab(75.92, -12.19, 62.88)
CIE-LCHlch(75.92, 64.05, 100.98°)
OKLaboklab(78.82% -0.0397 0.1403)
OKLCHoklch(78.82% 0.146 105.8)
XYZxyz(43.0552, 49.7531, 11.8918)
Luminance0.4975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF3E #3E46C7
analogous
#C77A3E #C7BF3E #8AC73E
triadic
#C7BF3E #3EC7BF #BF3EC7
tetradic
#C7BF3E #3EC77A #3E46C7 #C73E8A
square
#C7BF3E #3EC77A #3E46C7 #C73E8A
split-complementary
#C7BF3E #3E8AC7 #7A3EC7
monochromatic
#6B671F #9B942D #C7BF3E #D5CF6D #E3DE9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #c7bf3e;
/* rgb */ color: rgb(199, 191, 62);
/* oklch */ color: oklch(78.8% 0.146 105.8);
Tailwind
colors: {
  custom: {
    50: '#dbd27b',
    500: '#c7bf3e',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf3e;
$custom-light: #dbd27b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf3e",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 62
  },
  "hsl": {
    "h": 56.496,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7882,
    "c": 0.14583,
    "h": 105.8
  },
  "luminance": 0.49752
}

Semantic roles & 50–950 ramp

primary
#C7BF3E
secondary
#9296CF
accent
#52DE49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C7BF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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