#C2BF4F#C2BF4F

#C2BF4F is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.5% C 0.134 H 107.7°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#C2BF4F
RGBrgb(194, 191, 79)
HSLhsl(58, 49%, 54%)
HSVhsv(58, 59%, 76%)
CMYKcmyk(0%, 1.5%, 59.3%, 23.9%)
CIE-LABlab(75.64, -13.26, 55.43)
CIE-LCHlch(75.64, 57.00, 103.46°)
OKLaboklab(78.54% -0.0406 0.1273)
OKLCHoklch(78.54% 0.134 107.7)
XYZxyz(42.2915, 49.2967, 14.6831)
Luminance0.4929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BF4F #4F52C2
analogous
#C2854F #C2BF4F #8BC24F
triadic
#C2BF4F #4FC2BF #BF4FC2
tetradic
#C2BF4F #4FC285 #4F52C2 #C24F8B
square
#C2BF4F #4FC285 #4F52C2 #C24F8B
split-complementary
#C2BF4F #4F8BC2 #854FC2
monochromatic
#706E27 #9D9B37 #C2BF4F #D2D07C #E2E0AA

Accessibility & contrast

On white

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

On black

10.86
#C2BF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BF4F
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BF4F#FFFFFF#000000##000000
##C2BF4F1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB842
Deuteranopia (green-blind)
#D0BC55
Tritanopia (blue-blind)
#CFB4A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c2bf4f;
/* rgb */ color: rgb(194, 191, 79);
/* oklch */ color: oklch(78.5% 0.134 107.7);
Tailwind
colors: {
  custom: {
    50: '#d7d285',
    500: '#c2bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #c2bf4f;
$custom-light: #d7d285;
$custom-dark: #000000;
JSON
{
  "hex": "#c2bf4f",
  "rgb": {
    "r": 194,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 58.435,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78538,
    "c": 0.13362,
    "h": 107.7
  },
  "luminance": 0.49295
}

Semantic roles & 50–950 ramp

primary
#C2BF4F
secondary
#9E9FCF
accent
#53D850
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #C2BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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