#CFB33F#CFB33F

#CFB33F is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.0% C 0.135 H 95.3°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#CFB33F
RGBrgb(207, 179, 63)
HSLhsl(48, 60%, 53%)
HSVhsv(48, 70%, 81%)
CMYKcmyk(0%, 13.5%, 69.6%, 18.8%)
CIE-LABlab(73.46, -2.50, 60.24)
CIE-LCHlch(73.46, 60.30, 92.38°)
OKLaboklab(77.04% -0.0125 0.1347)
OKLCHoklch(77.04% 0.135 95.3)
XYZxyz(42.7516, 45.8667, 11.3030)
Luminance0.4586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB33F #3F5BCF
analogous
#CF6B3F #CFB33F #A3CF3F
triadic
#CFB33F #3FCFB3 #B33FCF
tetradic
#CFB33F #3FCF6B #3F5BCF #CF3FA3
square
#CFB33F #3FCF6B #3F5BCF #CF3FA3
split-complementary
#CFB33F #3FA3CF #6B3FCF
monochromatic
#76651E #A78F2A #CFB33F #DBC670 #E7DAA1

Accessibility & contrast

On white

2.06
#CFB33F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#CFB33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB33F
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB33F#FFFFFF#000000##000000
##CFB33F1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2F
Deuteranopia (green-blind)
#CCB845
Tritanopia (blue-blind)
#DFA59B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb33f;
/* rgb */ color: rgb(207, 179, 63);
/* oklch */ color: oklch(77.0% 0.135 95.3);
Tailwind
colors: {
  custom: {
    50: '#e1c97b',
    500: '#cfb33f',
    950: '#000000',
  },
}
SCSS
$custom: #cfb33f;
$custom-light: #e1c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb33f",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 63
  },
  "hsl": {
    "h": 48.333,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7704,
    "c": 0.13526,
    "h": 95.3
  },
  "luminance": 0.45864
}

Semantic roles & 50–950 ramp

primary
#CFB33F
secondary
#96A2D4
accent
#63E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB33F

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

Preview Lab → · Contrast checker → · Palette generator →

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