#C4BE2B#C4BE2B

#C4BE2B is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.2% C 0.156 H 107.0°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#C4BE2B
RGBrgb(196, 190, 43)
HSLhsl(58, 64%, 47%)
HSVhsv(58, 78%, 77%)
CMYKcmyk(0%, 3.1%, 78.1%, 23.1%)
CIE-LABlab(75.29, -13.81, 68.69)
CIE-LCHlch(75.29, 70.06, 101.37°)
OKLaboklab(78.22% -0.0458 0.1493)
OKLCHoklch(78.22% 0.156 107)
XYZxyz(41.6162, 48.7386, 9.5004)
Luminance0.4874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BE2B #2B31C4
analogous
#C4722B #C4BE2B #7EC42B
triadic
#C4BE2B #2BC4BE #BE2BC4
tetradic
#C4BE2B #2BC472 #2B31C4 #C42B7E
square
#C4BE2B #2BC472 #2B31C4 #C42B7E
split-complementary
#C4BE2B #2B7EC4 #722BC4
monochromatic
#605D15 #928D20 #C4BE2B #D9D453 #E4E185

Accessibility & contrast

On white

1.95
#C4BE2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#C4BE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BE2B
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BE2B#FFFFFF#000000##000000
##C4BE2B1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#D1BC38
Tritanopia (blue-blind)
#D3B1A3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c4be2b;
/* rgb */ color: rgb(196, 190, 43);
/* oklch */ color: oklch(78.2% 0.156 107.0);
Tailwind
colors: {
  custom: {
    50: '#dad171',
    500: '#c4be2b',
    950: '#000000',
  },
}
SCSS
$custom: #c4be2b;
$custom-light: #dad171;
$custom-dark: #000000;
JSON
{
  "hex": "#c4be2b",
  "rgb": {
    "r": 196,
    "g": 190,
    "b": 43
  },
  "hsl": {
    "h": 57.647,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.78224,
    "c": 0.1562,
    "h": 107
  },
  "luminance": 0.48737
}

Semantic roles & 50–950 ramp

primary
#C4BE2B
secondary
#7D80CE
accent
#47E741
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C4BE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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