#CFB03F#CFB03F

#CFB03F is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.4% C 0.133 H 93.4°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#CFB03F
RGBrgb(207, 176, 63)
HSLhsl(47, 60%, 53%)
HSVhsv(47, 70%, 81%)
CMYKcmyk(0%, 15%, 69.6%, 18.8%)
CIE-LABlab(72.68, -0.93, 59.45)
CIE-LCHlch(72.68, 59.46, 90.89°)
OKLaboklab(76.42% -0.008 0.133)
OKLCHoklch(76.42% 0.133 93.4)
XYZxyz(42.1568, 44.6773, 11.1048)
Luminance0.4467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB03F #3F5ECF
analogous
#CF683F #CFB03F #A6CF3F
triadic
#CFB03F #3FCFB0 #B03FCF
tetradic
#CFB03F #3FCF68 #3F5ECF #CF3FA6
square
#CFB03F #3FCF68 #3F5ECF #CF3FA6
split-complementary
#CFB03F #3FA6CF #683FCF
monochromatic
#76631E #A78C2A #CFB03F #DBC470 #E7D8A1

Accessibility & contrast

On white

2.11
#CFB03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#CFB03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB03F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB03F#FFFFFF#000000##000000
##CFB03F1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD2F
Deuteranopia (green-blind)
#CAB645
Tritanopia (blue-blind)
#DFA299
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfb03f;
/* rgb */ color: rgb(207, 176, 63);
/* oklch */ color: oklch(76.4% 0.133 93.4);
Tailwind
colors: {
  custom: {
    50: '#e1c77a',
    500: '#cfb03f',
    950: '#000000',
  },
}
SCSS
$custom: #cfb03f;
$custom-light: #e1c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb03f",
  "rgb": {
    "r": 207,
    "g": 176,
    "b": 63
  },
  "hsl": {
    "h": 47.083,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76424,
    "c": 0.13324,
    "h": 93.4
  },
  "luminance": 0.44675
}

Semantic roles & 50–950 ramp

primary
#CFB03F
secondary
#96A3D4
accent
#67E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB03F

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

Preview Lab → · Contrast checker → · Palette generator →

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