#C3BF40#C3BF40

#C3BF40 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.5% C 0.145 H 107.5°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#C3BF40
RGBrgb(195, 191, 64)
HSLhsl(58, 52%, 51%)
HSVhsv(58, 67%, 76%)
CMYKcmyk(0%, 2.1%, 67.2%, 23.5%)
CIE-LABlab(75.60, -13.79, 61.67)
CIE-LCHlch(75.60, 63.20, 102.60°)
OKLaboklab(78.49% -0.0437 0.1383)
OKLCHoklch(78.49% 0.145 107.5)
XYZxyz(42.0634, 49.2352, 12.1371)
Luminance0.4923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3BF40 #4044C3
analogous
#C37D40 #C3BF40 #85C340
triadic
#C3BF40 #40C3BF #BF40C3
tetradic
#C3BF40 #40C37D #4044C3 #C34085
square
#C3BF40 #40C37D #4044C3 #C34085
split-complementary
#C3BF40 #4085C3 #7D40C3
monochromatic
#686621 #97932F #C3BF40 #D2CF6F #E0DE9D

Accessibility & contrast

On white

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

On black

10.85
#C3BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3BF40
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3BF40#FFFFFF#000000##000000
##C3BF401.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#D1BC48
Tritanopia (blue-blind)
#D1B3A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c3bf40;
/* rgb */ color: rgb(195, 191, 64);
/* oklch */ color: oklch(78.5% 0.145 107.5);
Tailwind
colors: {
  custom: {
    50: '#d8d27c',
    500: '#c3bf40',
    950: '#000000',
  },
}
SCSS
$custom: #c3bf40;
$custom-light: #d8d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#c3bf40",
  "rgb": {
    "r": 195,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 58.168,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78489,
    "c": 0.145,
    "h": 107.5
  },
  "luminance": 0.49234
}

Semantic roles & 50–950 ramp

primary
#C3BF40
secondary
#9294CC
accent
#51DC4C
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C3BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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