#C4BF27#C4BF27

#C4BF27 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.4% C 0.159 H 107.5°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#C4BF27
RGBrgb(196, 191, 39)
HSLhsl(58, 67%, 46%)
HSVhsv(58, 80%, 77%)
CMYKcmyk(0%, 2.6%, 80.1%, 23.1%)
CIE-LABlab(75.54, -14.45, 70.05)
CIE-LCHlch(75.54, 71.53, 101.66°)
OKLaboklab(78.42% -0.0479 0.1515)
OKLCHoklch(78.42% 0.159 107.5)
XYZxyz(41.7637, 49.1453, 9.2051)
Luminance0.4914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BF27 #272CC4
analogous
#C47027 #C4BF27 #7AC427
triadic
#C4BF27 #27C4BF #BF27C4
tetradic
#C4BF27 #27C470 #272CC4 #C4277A
square
#C4BF27 #27C470 #272CC4 #C4277A
split-complementary
#C4BF27 #277AC4 #7027C4
monochromatic
#5E5C13 #918D1D #C4BF27 #DCD74D #E6E280

Accessibility & contrast

On white

1.94
#C4BF27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#C4BF27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BF27
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BF27#FFFFFF#000000##000000
##C4BF271.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#D2BD35
Tritanopia (blue-blind)
#D3B2A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c4bf27;
/* rgb */ color: rgb(196, 191, 39);
/* oklch */ color: oklch(78.4% 0.159 107.5);
Tailwind
colors: {
  custom: {
    50: '#dad270',
    500: '#c4bf27',
    950: '#000000',
  },
}
SCSS
$custom: #c4bf27;
$custom-light: #dad270;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bf27",
  "rgb": {
    "r": 196,
    "g": 191,
    "b": 39
  },
  "hsl": {
    "h": 58.089,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7842,
    "c": 0.15893,
    "h": 107.5
  },
  "luminance": 0.49144
}

Semantic roles & 50–950 ramp

primary
#C4BF27
secondary
#797BCE
accent
#44EA3E
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #C4BF27

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

Preview Lab → · Contrast checker → · Palette generator →

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