#C2B462#C2B462

#C2B462 is a light, moderate yellow. Relative luminance 0.450; OKLCH L 76.4% C 0.105 H 99.8°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#C2B462
RGBrgb(194, 180, 98)
HSLhsl(51, 44%, 57%)
HSVhsv(51, 49%, 76%)
CMYKcmyk(0%, 7.2%, 49.5%, 23.9%)
CIE-LABlab(72.89, -6.04, 43.31)
CIE-LCHlch(72.89, 43.73, 97.94°)
OKLaboklab(76.42% -0.0178 0.1031)
OKLCHoklch(76.42% 0.105 99.8)
XYZxyz(40.7752, 44.9951, 18.0900)
Luminance0.4499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B462 #6270C2
analogous
#C28462 #C2B462 #A0C262
triadic
#C2B462 #62C2B4 #B462C2
tetradic
#C2B462 #62C284 #6270C2 #C262A0
square
#C2B462 #62C284 #6270C2 #C262A0
split-complementary
#C2B462 #62A0C2 #8462C2
monochromatic
#7A6F2F #A69741 #C2B462 #D3C98E #E4DEBA

Accessibility & contrast

On white

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

On black

10.00
#C2B462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B462
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B462#FFFFFF#000000##000000
##C2B4621.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B05B
Deuteranopia (green-blind)
#C6B566
Tritanopia (blue-blind)
#CEAAA1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c2b462;
/* rgb */ color: rgb(194, 180, 98);
/* oklch */ color: oklch(76.4% 0.105 99.8);
Tailwind
colors: {
  custom: {
    50: '#d6ca90',
    500: '#c2b462',
    950: '#000000',
  },
}
SCSS
$custom: #c2b462;
$custom-light: #d6ca90;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b462",
  "rgb": {
    "r": 194,
    "g": 180,
    "b": 98
  },
  "hsl": {
    "h": 51.25,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.76421,
    "c": 0.10466,
    "h": 99.8
  },
  "luminance": 0.44994
}

Semantic roles & 50–950 ramp

primary
#C2B462
secondary
#ACB2D3
accent
#67D454
background
#FDFCF9
surface
#FAF8F1
border
#D3D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #C2B462

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

Preview Lab → · Contrast checker → · Palette generator →

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