#C7A333#C7A333

#C7A333 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.9% C 0.132 H 90.3°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#C7A333
RGBrgb(199, 163, 51)
HSLhsl(45, 59%, 49%)
HSVhsv(45, 74%, 78%)
CMYKcmyk(0%, 18.1%, 74.4%, 22%)
CIE-LABlab(68.44, 1.92, 59.73)
CIE-LCHlch(68.44, 59.76, 88.16°)
OKLaboklab(72.87% -0.0007 0.1317)
OKLCHoklch(72.87% 0.132 90.3)
XYZxyz(37.2501, 38.5778, 8.6156)
Luminance0.3858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A333 #3357C7
analogous
#C75933 #C7A333 #A1C733
triadic
#C7A333 #33C7A3 #A333C7
tetradic
#C7A333 #33C759 #3357C7 #C733A1
square
#C7A333 #33C759 #3357C7 #C733A1
split-complementary
#C7A333 #33A1C7 #5933C7
monochromatic
#66531A #967B27 #C7A333 #D6BA61 #E3CF91

Accessibility & contrast

On white

2.41
#C7A333 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#C7A333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A333
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A333#FFFFFF#000000##000000
##C7A3331.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A121
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#D7958D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c7a333;
/* rgb */ color: rgb(199, 163, 51);
/* oklch */ color: oklch(72.9% 0.132 90.3);
Tailwind
colors: {
  custom: {
    50: '#dcbd72',
    500: '#c7a333',
    950: '#000000',
  },
}
SCSS
$custom: #c7a333;
$custom-light: #dcbd72;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a333",
  "rgb": {
    "r": 199,
    "g": 163,
    "b": 51
  },
  "hsl": {
    "h": 45.405,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72874,
    "c": 0.13165,
    "h": 90.3
  },
  "luminance": 0.38576
}

Semantic roles & 50–950 ramp

primary
#C7A333
secondary
#8899CE
accent
#6CE245
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C7A333

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

Preview Lab → · Contrast checker → · Palette generator →

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