#C2BF5A#C2BF5A

#C2BF5A is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.7% C 0.124 H 107.4°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#C2BF5A
RGBrgb(194, 191, 90)
HSLhsl(58, 46%, 56%)
HSVhsv(58, 54%, 76%)
CMYKcmyk(0%, 1.5%, 53.6%, 23.9%)
CIE-LABlab(75.74, -12.43, 50.55)
CIE-LCHlch(75.74, 52.05, 103.81°)
OKLaboklab(78.66% -0.037 0.1182)
OKLCHoklch(78.66% 0.124 107.4)
XYZxyz(42.7256, 49.4703, 16.9689)
Luminance0.4947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BF5A #5A5DC2
analogous
#C28B5A #C2BF5A #91C25A
triadic
#C2BF5A #5AC2BF #BF5AC2
tetradic
#C2BF5A #5AC28B #5A5DC2 #C25A91
square
#C2BF5A #5AC28B #5A5DC2 #C25A91
split-complementary
#C2BF5A #5A91C2 #8B5AC2
monochromatic
#76742C #A3A03C #C2BF5A #D3D087 #E3E2B3

Accessibility & contrast

On white

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

On black

10.89
#C2BF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BF5A
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BF5A#FFFFFF#000000##000000
##C2BF5A1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB850
Deuteranopia (green-blind)
#CFBD5F
Tritanopia (blue-blind)
#CEB4A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c2bf5a;
/* rgb */ color: rgb(194, 191, 90);
/* oklch */ color: oklch(78.7% 0.124 107.4);
Tailwind
colors: {
  custom: {
    50: '#d7d28c',
    500: '#c2bf5a',
    950: '#000000',
  },
}
SCSS
$custom: #c2bf5a;
$custom-light: #d7d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2bf5a",
  "rgb": {
    "r": 194,
    "g": 191,
    "b": 90
  },
  "hsl": {
    "h": 58.269,
    "s": 46.018,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78658,
    "c": 0.12381,
    "h": 107.4
  },
  "luminance": 0.49469
}

Semantic roles & 50–950 ramp

primary
#C2BF5A
secondary
#A6A8D2
accent
#56D652
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140C
muted
#83827D

Preview Lab

Preview with #C2BF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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