#C2B95F#C2B95F

#C2B95F is a light, moderate yellow. Relative luminance 0.470; OKLCH L 77.4% C 0.113 H 103.6°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#C2B95F
RGBrgb(194, 185, 95)
HSLhsl(55, 45%, 57%)
HSVhsv(55, 51%, 76%)
CMYKcmyk(0%, 4.6%, 51%, 23.9%)
CIE-LABlab(74.19, -8.92, 46.34)
CIE-LCHlch(74.19, 47.19, 100.89°)
OKLaboklab(77.44% -0.0264 0.1095)
OKLCHoklch(77.44% 0.113 103.6)
XYZxyz(41.6638, 46.9948, 17.7005)
Luminance0.4699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B95F #5F68C2
analogous
#C2885F #C2B95F #9AC25F
triadic
#C2B95F #5FC2B9 #B95FC2
tetradic
#C2B95F #5FC288 #5F68C2 #C25F9A
square
#C2B95F #5FC288 #5F68C2 #C25F9A
split-complementary
#C2B95F #5F9AC2 #885FC2
monochromatic
#79722E #A59C3F #C2B95F #D3CC8B #E4E0B8

Accessibility & contrast

On white

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

On black

10.40
#C2B95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B95F
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B95F#FFFFFF#000000##000000
##C2B95F1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B457
Deuteranopia (green-blind)
#CAB963
Tritanopia (blue-blind)
#CEAFA4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c2b95f;
/* rgb */ color: rgb(194, 185, 95);
/* oklch */ color: oklch(77.4% 0.113 103.6);
Tailwind
colors: {
  custom: {
    50: '#d6cd8f',
    500: '#c2b95f',
    950: '#000000',
  },
}
SCSS
$custom: #c2b95f;
$custom-light: #d6cd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b95f",
  "rgb": {
    "r": 194,
    "g": 185,
    "b": 95
  },
  "hsl": {
    "h": 54.545,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.77438,
    "c": 0.11267,
    "h": 103.6
  },
  "luminance": 0.46993
}

Semantic roles & 50–950 ramp

primary
#C2B95F
secondary
#AAAED3
accent
#5FD453
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2B95F

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

Preview Lab → · Contrast checker → · Palette generator →

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