#C2B45F#C2B45F

#C2B45F is a light, moderate yellow. Relative luminance 0.449; OKLCH L 76.4% C 0.108 H 100.1°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#C2B45F
RGBrgb(194, 180, 95)
HSLhsl(52, 45%, 57%)
HSVhsv(52, 51%, 76%)
CMYKcmyk(0%, 7.2%, 51%, 23.9%)
CIE-LABlab(72.85, -6.31, 44.75)
CIE-LCHlch(72.85, 45.19, 98.03°)
OKLaboklab(76.38% -0.0189 0.106)
OKLCHoklch(76.38% 0.108 100.1)
XYZxyz(40.6362, 44.9395, 17.3579)
Luminance0.4494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B45F #5F6DC2
analogous
#C2835F #C2B45F #9FC25F
triadic
#C2B45F #5FC2B4 #B45FC2
tetradic
#C2B45F #5FC283 #5F6DC2 #C25F9F
square
#C2B45F #5FC283 #5F6DC2 #C25F9F
split-complementary
#C2B45F #5F9FC2 #835FC2
monochromatic
#796E2E #A5963F #C2B45F #D3C98B #E4DEB8

Accessibility & contrast

On white

2.10
#C2B45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#C2B45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B45F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B45F#FFFFFF#000000##000000
##C2B45F1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B057
Deuteranopia (green-blind)
#C6B563
Tritanopia (blue-blind)
#CFAAA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c2b45f;
/* rgb */ color: rgb(194, 180, 95);
/* oklch */ color: oklch(76.4% 0.108 100.1);
Tailwind
colors: {
  custom: {
    50: '#d6ca8e',
    500: '#c2b45f',
    950: '#000000',
  },
}
SCSS
$custom: #c2b45f;
$custom-light: #d6ca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b45f",
  "rgb": {
    "r": 194,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 51.515,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.7638,
    "c": 0.10771,
    "h": 100.1
  },
  "luminance": 0.44938
}

Semantic roles & 50–950 ramp

primary
#C2B45F
secondary
#AAB0D3
accent
#66D453
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2B45F

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

Preview Lab → · Contrast checker → · Palette generator →

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