#C5BF3F#C5BF3F

#C5BF3F is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.7% C 0.145 H 106.7°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#C5BF3F
RGBrgb(197, 191, 63)
HSLhsl(57, 54%, 51%)
HSVhsv(57, 68%, 77%)
CMYKcmyk(0%, 3%, 68%, 22.7%)
CIE-LABlab(75.76, -12.99, 62.28)
CIE-LCHlch(75.76, 63.62, 101.78°)
OKLaboklab(78.65% -0.0417 0.1393)
OKLCHoklch(78.65% 0.145 106.7)
XYZxyz(42.5556, 49.4923, 12.0130)
Luminance0.4949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF3F #3F45C5
analogous
#C57C3F #C5BF3F #88C53F
triadic
#C5BF3F #3FC5BF #BF3FC5
tetradic
#C5BF3F #3FC57C #3F45C5 #C53F88
square
#C5BF3F #3FC57C #3F45C5 #C53F88
split-complementary
#C5BF3F #3F88C5 #7C3FC5
monochromatic
#6A6620 #99942E #C5BF3F #D3CF6E #E1DE9D

Accessibility & contrast

On white

1.93
#C5BF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#C5BF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BF3F
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BF3F#FFFFFF#000000##000000
##C5BF3F1.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82C
Deuteranopia (green-blind)
#D2BD48
Tritanopia (blue-blind)
#D3B3A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5bf3f;
/* rgb */ color: rgb(197, 191, 63);
/* oklch */ color: oklch(78.7% 0.145 106.7);
Tailwind
colors: {
  custom: {
    50: '#dad27b',
    500: '#c5bf3f',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf3f;
$custom-light: #dad27b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf3f",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 63
  },
  "hsl": {
    "h": 57.313,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78654,
    "c": 0.1454,
    "h": 106.7
  },
  "luminance": 0.49491
}

Semantic roles & 50–950 ramp

primary
#C5BF3F
secondary
#9295CE
accent
#51DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5BF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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