#C4BF3F#C4BF3F

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

Color values

HEX#C4BF3F
RGBrgb(196, 191, 63)
HSLhsl(58, 53%, 51%)
HSVhsv(58, 68%, 77%)
CMYKcmyk(0%, 2.6%, 67.9%, 23.1%)
CIE-LABlab(75.67, -13.42, 62.17)
CIE-LCHlch(75.67, 63.60, 102.18°)
OKLaboklab(78.57% -0.0428 0.1391)
OKLCHoklch(78.57% 0.146 107.1)
XYZxyz(42.2945, 49.3577, 12.0007)
Luminance0.4936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BF3F #3F44C4
analogous
#C47C3F #C4BF3F #87C43F
triadic
#C4BF3F #3FC4BF #BF3FC4
tetradic
#C4BF3F #3FC47C #3F44C4 #C43F87
square
#C4BF3F #3FC47C #3F44C4 #C43F87
split-complementary
#C4BF3F #3F87C4 #7C3FC4
monochromatic
#686620 #97932E #C4BF3F #D2CF6E #E1DE9D

Accessibility & contrast

On white

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

On black

10.87
#C4BF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BF3F
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BF3F#FFFFFF#000000##000000
##C4BF3F1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82C
Deuteranopia (green-blind)
#D1BD48
Tritanopia (blue-blind)
#D2B3A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c4bf3f;
/* rgb */ color: rgb(196, 191, 63);
/* oklch */ color: oklch(78.6% 0.146 107.1);
Tailwind
colors: {
  custom: {
    50: '#d9d27b',
    500: '#c4bf3f',
    950: '#000000',
  },
}
SCSS
$custom: #c4bf3f;
$custom-light: #d9d27b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bf3f",
  "rgb": {
    "r": 196,
    "g": 191,
    "b": 63
  },
  "hsl": {
    "h": 57.744,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78567,
    "c": 0.14554,
    "h": 107.1
  },
  "luminance": 0.49356
}

Semantic roles & 50–950 ramp

primary
#C4BF3F
secondary
#9294CD
accent
#51DC4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C4BF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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