#C2B95B#C2B95B

#C2B95B is a light, moderate yellow. Relative luminance 0.469; OKLCH L 77.4% C 0.117 H 103.8°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#C2B95B
RGBrgb(194, 185, 91)
HSLhsl(55, 46%, 56%)
HSVhsv(55, 53%, 76%)
CMYKcmyk(0%, 4.6%, 53.1%, 23.9%)
CIE-LABlab(74.14, -9.26, 48.21)
CIE-LCHlch(74.14, 49.10, 100.87°)
OKLaboklab(77.39% -0.0278 0.1132)
OKLCHoklch(77.39% 0.117 103.8)
XYZxyz(41.4867, 46.9239, 16.7674)
Luminance0.4692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B95B #5B64C2
analogous
#C2855B #C2B95B #97C25B
triadic
#C2B95B #5BC2B9 #B95BC2
tetradic
#C2B95B #5BC285 #5B64C2 #C25B97
square
#C2B95B #5BC285 #5B64C2 #C25B97
split-complementary
#C2B95B #5B97C2 #855BC2
monochromatic
#77702C #A39A3D #C2B95B #D3CC88 #E3DFB4

Accessibility & contrast

On white

2.02
#C2B95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#C2B95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B95B
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B95B#FFFFFF#000000##000000
##C2B95B1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B452
Deuteranopia (green-blind)
#CAB960
Tritanopia (blue-blind)
#CFAEA4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c2b95b;
/* rgb */ color: rgb(194, 185, 91);
/* oklch */ color: oklch(77.4% 0.117 103.8);
Tailwind
colors: {
  custom: {
    50: '#d7cd8c',
    500: '#c2b95b',
    950: '#000000',
  },
}
SCSS
$custom: #c2b95b;
$custom-light: #d7cd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b95b",
  "rgb": {
    "r": 194,
    "g": 185,
    "b": 91
  },
  "hsl": {
    "h": 54.757,
    "s": 45.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.77388,
    "c": 0.11659,
    "h": 103.8
  },
  "luminance": 0.46923
}

Semantic roles & 50–950 ramp

primary
#C2B95B
secondary
#A7ABD2
accent
#5ED552
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2B95B

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

Preview Lab → · Contrast checker → · Palette generator →

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