#C7B652#C7B652

#C7B652 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.1% C 0.122 H 99.8°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#C7B652
RGBrgb(199, 182, 82)
HSLhsl(51, 51%, 55%)
HSVhsv(51, 59%, 78%)
CMYKcmyk(0%, 8.5%, 58.8%, 22%)
CIE-LABlab(73.68, -6.31, 52.03)
CIE-LCHlch(73.68, 52.41, 96.91°)
OKLaboklab(77.1% -0.0207 0.1203)
OKLCHoklch(77.1% 0.122 99.8)
XYZxyz(41.8057, 46.2089, 14.6981)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B652 #5263C7
analogous
#C77B52 #C7B652 #9EC752
triadic
#C7B652 #52C7B6 #B652C7
tetradic
#C7B652 #52C77B #5263C7 #C7529E
square
#C7B652 #52C77B #5263C7 #C7529E
split-complementary
#C7B652 #529EC7 #7B52C7
monochromatic
#786C27 #A69636 #C7B652 #D6CA80 #E5DDAE

Accessibility & contrast

On white

2.05
#C7B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#C7B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B652
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B652#FFFFFF#000000##000000
##C7B6521.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B148
Deuteranopia (green-blind)
#CAB857
Tritanopia (blue-blind)
#D5AAA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c7b652;
/* rgb */ color: rgb(199, 182, 82);
/* oklch */ color: oklch(77.1% 0.122 99.8);
Tailwind
colors: {
  custom: {
    50: '#dbcb86',
    500: '#c7b652',
    950: '#000000',
  },
}
SCSS
$custom: #c7b652;
$custom-light: #dbcb86;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b652",
  "rgb": {
    "r": 199,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 51.282,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77096,
    "c": 0.12208,
    "h": 99.8
  },
  "luminance": 0.46207
}

Semantic roles & 50–950 ramp

primary
#C7B652
secondary
#A2A9D3
accent
#62DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7B652

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

Preview Lab → · Contrast checker → · Palette generator →

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