#C2B85A#C2B85A

#C2B85A is a light, moderate yellow. Relative luminance 0.465; OKLCH L 77.2% C 0.117 H 103.2°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#C2B85A
RGBrgb(194, 184, 90)
HSLhsl(54, 46%, 56%)
HSVhsv(54, 54%, 76%)
CMYKcmyk(0%, 5.2%, 53.6%, 23.9%)
CIE-LABlab(73.86, -8.82, 48.37)
CIE-LCHlch(73.86, 49.17, 100.34°)
OKLaboklab(77.16% -0.0267 0.1135)
OKLCHoklch(77.16% 0.117 103.2)
XYZxyz(41.2353, 46.4899, 16.4722)
Luminance0.4649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B85A #5A64C2
analogous
#C2845A #C2B85A #98C25A
triadic
#C2B85A #5AC2B8 #B85AC2
tetradic
#C2B85A #5AC284 #5A64C2 #C25A98
square
#C2B85A #5AC284 #5A64C2 #C25A98
split-complementary
#C2B85A #5A98C2 #845AC2
monochromatic
#766F2C #A3993C #C2B85A #D3CB87 #E3DEB3

Accessibility & contrast

On white

2.04
#C2B85A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#C2B85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B85A
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B85A#FFFFFF#000000##000000
##C2B85A1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B351
Deuteranopia (green-blind)
#CAB85F
Tritanopia (blue-blind)
#CFADA3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c2b85a;
/* rgb */ color: rgb(194, 184, 90);
/* oklch */ color: oklch(77.2% 0.117 103.2);
Tailwind
colors: {
  custom: {
    50: '#d7cd8b',
    500: '#c2b85a',
    950: '#000000',
  },
}
SCSS
$custom: #c2b85a;
$custom-light: #d7cd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b85a",
  "rgb": {
    "r": 194,
    "g": 184,
    "b": 90
  },
  "hsl": {
    "h": 54.231,
    "s": 46.018,
    "l": 55.686
  },
  "oklch": {
    "l": 0.77163,
    "c": 0.11655,
    "h": 103.2
  },
  "luminance": 0.46488
}

Semantic roles & 50–950 ramp

primary
#C2B85A
secondary
#A6AAD2
accent
#5FD652
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2B85A

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

Preview Lab → · Contrast checker → · Palette generator →

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