#C7BF2F#C7BF2F

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

Color values

HEX#C7BF2F
RGBrgb(199, 191, 47)
HSLhsl(57, 62%, 48%)
HSVhsv(57, 76%, 78%)
CMYKcmyk(0%, 4%, 76.4%, 22%)
CIE-LABlab(75.83, -12.88, 68.05)
CIE-LCHlch(75.83, 69.25, 100.72°)
OKLaboklab(78.72% -0.043 0.1486)
OKLCHoklch(78.72% 0.155 106.1)
XYZxyz(42.6989, 49.6106, 10.0154)
Luminance0.4961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF2F #2F37C7
analogous
#C7732F #C7BF2F #83C72F
triadic
#C7BF2F #2FC7BF #BF2FC7
tetradic
#C7BF2F #2FC773 #2F37C7 #C72F83
square
#C7BF2F #2FC773 #2F37C7 #C72F83
split-complementary
#C7BF2F #2F83C7 #732FC7
monochromatic
#646018 #958F23 #C7BF2F #D8D25B #E4DF8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7BF2F#FFFFFF#000000##000000
##C7BF2F1.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)
#D0B809
Deuteranopia (green-blind)
#D3BD3B
Tritanopia (blue-blind)
#D6B2A4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c7bf2f;
/* rgb */ color: rgb(199, 191, 47);
/* oklch */ color: oklch(78.7% 0.155 106.1);
Tailwind
colors: {
  custom: {
    50: '#dcd273',
    500: '#c7bf2f',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf2f;
$custom-light: #dcd273;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf2f",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 47
  },
  "hsl": {
    "h": 56.842,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.78722,
    "c": 0.15468,
    "h": 106.1
  },
  "luminance": 0.49609
}

Semantic roles & 50–950 ramp

primary
#C7BF2F
secondary
#8488CE
accent
#4BE543
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161409
muted
#84827B

Preview Lab

Preview with #C7BF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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