#C5BF3E#C5BF3E

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

Color values

HEX#C5BF3E
RGBrgb(197, 191, 62)
HSLhsl(57, 54%, 51%)
HSVhsv(57, 69%, 77%)
CMYKcmyk(0%, 3%, 68.5%, 22.7%)
CIE-LABlab(75.75, -13.05, 62.66)
CIE-LCHlch(75.75, 64.00, 101.76°)
OKLaboklab(78.65% -0.0419 0.1399)
OKLCHoklch(78.65% 0.146 106.7)
XYZxyz(42.5279, 49.4812, 11.8671)
Luminance0.4948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF3E #3E44C5
analogous
#C57B3E #C5BF3E #88C53E
triadic
#C5BF3E #3EC5BF #BF3EC5
tetradic
#C5BF3E #3EC57B #3E44C5 #C53E88
square
#C5BF3E #3EC57B #3E44C5 #C53E88
split-complementary
#C5BF3E #3E88C5 #7B3EC5
monochromatic
#696620 #98932E #C5BF3E #D3CF6D #E1DE9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BF3E#FFFFFF#000000##000000
##C5BF3E1.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)
#CFB82A
Deuteranopia (green-blind)
#D2BD47
Tritanopia (blue-blind)
#D3B3A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5bf3e;
/* rgb */ color: rgb(197, 191, 62);
/* oklch */ color: oklch(78.6% 0.146 106.7);
Tailwind
colors: {
  custom: {
    50: '#dad27b',
    500: '#c5bf3e',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf3e;
$custom-light: #dad27b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf3e",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 62
  },
  "hsl": {
    "h": 57.333,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78646,
    "c": 0.14608,
    "h": 106.7
  },
  "luminance": 0.4948
}

Semantic roles & 50–950 ramp

primary
#C5BF3E
secondary
#9194CD
accent
#51DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5BF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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