#C7BF2D#C7BF2D

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

Color values

HEX#C7BF2D
RGBrgb(199, 191, 45)
HSLhsl(57, 63%, 48%)
HSVhsv(57, 77%, 78%)
CMYKcmyk(0%, 4%, 77.4%, 22%)
CIE-LABlab(75.82, -12.95, 68.66)
CIE-LCHlch(75.82, 69.87, 100.69°)
OKLaboklab(78.71% -0.0434 0.1495)
OKLCHoklch(78.71% 0.156 106.2)
XYZxyz(42.6595, 49.5948, 9.8078)
Luminance0.4959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF2D #2D35C7
analogous
#C7722D #C7BF2D #82C72D
triadic
#C7BF2D #2DC7BF #BF2DC7
tetradic
#C7BF2D #2DC772 #2D35C7 #C72D82
square
#C7BF2D #2DC772 #2D35C7 #C72D82
split-complementary
#C7BF2D #2D82C7 #722DC7
monochromatic
#635F16 #958F22 #C7BF2D #D9D358 #E5E08A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7BF2D#FFFFFF#000000##000000
##C7BF2D1.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)
#D0B801
Deuteranopia (green-blind)
#D3BD39
Tritanopia (blue-blind)
#D6B2A4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c7bf2d;
/* rgb */ color: rgb(199, 191, 45);
/* oklch */ color: oklch(78.7% 0.156 106.2);
Tailwind
colors: {
  custom: {
    50: '#dcd273',
    500: '#c7bf2d',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf2d;
$custom-light: #dcd273;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf2d",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 45
  },
  "hsl": {
    "h": 56.883,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.78712,
    "c": 0.15569,
    "h": 106.2
  },
  "luminance": 0.49593
}

Semantic roles & 50–950 ramp

primary
#C7BF2D
secondary
#8185CE
accent
#4AE642
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161409
muted
#84827B

Preview Lab

Preview with #C7BF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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