#C2BF5F#C2BF5F

#C2BF5F is a light, moderate yellow. Relative luminance 0.496; OKLCH L 78.7% C 0.119 H 107.2°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#C2BF5F
RGBrgb(194, 191, 95)
HSLhsl(58, 45%, 57%)
HSVhsv(58, 51%, 76%)
CMYKcmyk(0%, 1.5%, 51%, 23.9%)
CIE-LABlab(75.80, -12.00, 48.25)
CIE-LCHlch(75.80, 49.72, 103.97°)
OKLaboklab(78.72% -0.0352 0.1137)
OKLCHoklch(78.72% 0.119 107.2)
XYZxyz(42.9456, 49.5583, 18.1277)
Luminance0.4956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BF5F #5F62C2
analogous
#C28E5F #C2BF5F #94C25F
triadic
#C2BF5F #5FC2BF #BF5FC2
tetradic
#C2BF5F #5FC28E #5F62C2 #C25F94
square
#C2BF5F #5FC28E #5F62C2 #C25F94
split-complementary
#C2BF5F #5F94C2 #8E5FC2
monochromatic
#79762E #A5A23F #C2BF5F #D3D18B #E4E2B8

Accessibility & contrast

On white

1.92
#C2BF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#C2BF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BF5F
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BF5F#FFFFFF#000000##000000
##C2BF5F1.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB956
Deuteranopia (green-blind)
#CEBD64
Tritanopia (blue-blind)
#CEB5A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c2bf5f;
/* rgb */ color: rgb(194, 191, 95);
/* oklch */ color: oklch(78.7% 0.119 107.2);
Tailwind
colors: {
  custom: {
    50: '#d6d28f',
    500: '#c2bf5f',
    950: '#000000',
  },
}
SCSS
$custom: #c2bf5f;
$custom-light: #d6d28f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2bf5f",
  "rgb": {
    "r": 194,
    "g": 191,
    "b": 95
  },
  "hsl": {
    "h": 58.182,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78719,
    "c": 0.11902,
    "h": 107.2
  },
  "luminance": 0.49557
}

Semantic roles & 50–950 ramp

primary
#C2BF5F
secondary
#AAABD3
accent
#57D453
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#15140C
muted
#83827D

Preview Lab

Preview with #C2BF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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