#C2B262#C2B262

#C2B262 is a light, moderate yellow. Relative luminance 0.442; OKLCH L 76.0% C 0.103 H 98.3°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#C2B262
RGBrgb(194, 178, 98)
HSLhsl(50, 44%, 57%)
HSVhsv(50, 49%, 76%)
CMYKcmyk(0%, 8.2%, 49.5%, 23.9%)
CIE-LABlab(72.36, -4.99, 42.66)
CIE-LCHlch(72.36, 42.95, 96.67°)
OKLaboklab(76% -0.0148 0.1017)
OKLCHoklch(76% 0.103 98.3)
XYZxyz(40.3743, 44.1935, 17.9564)
Luminance0.4419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B262 #6272C2
analogous
#C28262 #C2B262 #A2C262
triadic
#C2B262 #62C2B2 #B262C2
tetradic
#C2B262 #62C282 #6272C2 #C262A2
square
#C2B262 #62C282 #6272C2 #C262A2
split-complementary
#C2B262 #62A2C2 #8262C2
monochromatic
#7A6E2F #A69541 #C2B262 #D3C88E #E4DDBA

Accessibility & contrast

On white

2.13
#C2B262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#C2B262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B262
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B262#FFFFFF#000000##000000
##C2B2621.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AE5B
Deuteranopia (green-blind)
#C4B465
Tritanopia (blue-blind)
#CFA89F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b262;
/* rgb */ color: rgb(194, 178, 98);
/* oklch */ color: oklch(76.0% 0.103 98.3);
Tailwind
colors: {
  custom: {
    50: '#d6c890',
    500: '#c2b262',
    950: '#000000',
  },
}
SCSS
$custom: #c2b262;
$custom-light: #d6c890;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b262",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 50,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.76,
    "c": 0.10278,
    "h": 98.3
  },
  "luminance": 0.44192
}

Semantic roles & 50–950 ramp

primary
#C2B262
secondary
#ACB3D3
accent
#69D454
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#15130D
muted
#83827D

Preview Lab

Preview with #C2B262

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

Preview Lab → · Contrast checker → · Palette generator →

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