#C7BF2E#C7BF2E

#C7BF2E is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.7% C 0.155 H 106.2°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#C7BF2E
RGBrgb(199, 191, 46)
HSLhsl(57, 62%, 48%)
HSVhsv(57, 77%, 78%)
CMYKcmyk(0%, 4%, 76.9%, 22%)
CIE-LABlab(75.82, -12.92, 68.35)
CIE-LCHlch(75.82, 69.56, 100.70°)
OKLaboklab(78.72% -0.0432 0.1491)
OKLCHoklch(78.72% 0.155 106.2)
XYZxyz(42.6789, 49.6026, 9.9104)
Luminance0.4960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF2E #2E36C7
analogous
#C7732E #C7BF2E #82C72E
triadic
#C7BF2E #2EC7BF #BF2EC7
tetradic
#C7BF2E #2EC773 #2E36C7 #C72E82
square
#C7BF2E #2EC773 #2E36C7 #C72E82
split-complementary
#C7BF2E #2E82C7 #732EC7
monochromatic
#646017 #958F23 #C7BF2E #D9D259 #E4E08B

Accessibility & contrast

On white

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

On black

10.92
#C7BF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BF2E
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BF2E#FFFFFF#000000##000000
##C7BF2E1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B805
Deuteranopia (green-blind)
#D3BD3A
Tritanopia (blue-blind)
#D6B2A4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c7bf2e;
/* rgb */ color: rgb(199, 191, 46);
/* oklch */ color: oklch(78.7% 0.155 106.2);
Tailwind
colors: {
  custom: {
    50: '#dcd273',
    500: '#c7bf2e',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf2e;
$custom-light: #dcd273;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf2e",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 46
  },
  "hsl": {
    "h": 56.863,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78717,
    "c": 0.15519,
    "h": 106.2
  },
  "luminance": 0.49601
}

Semantic roles & 50–950 ramp

primary
#C7BF2E
secondary
#8387CE
accent
#4BE642
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161409
muted
#84827B

Preview Lab

Preview with #C7BF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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